libnfnetlink: quote $(FPIC) on command line
authorPhilip Prindeville <philipp@redfish-solutions.com>
Fri, 19 Mar 2021 23:09:26 +0000 (17:09 -0600)
committerPaul Spooren <mail@aparcar.org>
Fri, 19 Mar 2021 23:37:51 +0000 (13:37 -1000)
When $(FPIC) gets expanded on the command line (for instance
when setting environment variables for libtool, configure, or
make) we can't count on it not needing quoting (i.e. it could
contain multiple flags separated with spaces).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
package/libs/libnfnetlink/Makefile

index 7d65d6385784e3d418f714386efe505b905c3b3e..bc64ff111d1f37e64463d519736d013679ccebf0 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libnfnetlink
 PKG_VERSION:=1.0.1
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:= \
@@ -45,7 +45,7 @@ CONFIGURE_ARGS += \
        --enable-shared
 
 CONFIGURE_VARS += \
-       lt_prog_compiler_pic=$(FPIC)
+       lt_prog_compiler_pic="$(FPIC)"
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include/libnfnetlink