libnfnetlink: quote $(FPIC) on command line

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).

Fixes: dc31191ec3 ("build: make sure asm gets built with -DPIC")
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit 7fae64cc06)
This commit is contained in:
Philip Prindeville 2021-03-19 17:09:26 -06:00 committed by Hauke Mehrtens
parent 121f2461e5
commit 46362c48c8
1 changed files with 2 additions and 2 deletions

View File

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