shapelib: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:06:32 +0000 (13:06 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Oct 2016 13:19:24 +0000 (15:19 +0200)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/shapelib/shapelib.mk

index 1e9c16f3362a914f003b99ff1bc706d465b7b146..2e8fe6d7b256a9a36a1091d3422a7714efd736ca 100644 (file)
@@ -15,11 +15,11 @@ define SHAPELIB_BUILD_CMDS
 endef
 
 define SHAPELIB_INSTALL_STAGING_CMDS
-       $(MAKE) -C $(@D) PREFIX=$(STAGING_DIR)/usr/ lib_install
+       $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(STAGING_DIR)/usr/ lib_install
 endef
 
 define SHAPELIB_INSTALL_TARGET_CMDS
-       $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR)/usr/ bin_install
+       $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR)/usr/ bin_install
 endef
 
 $(eval $(generic-package))