x86_64 also needs -fPIC to create lua shared libraries

SVN-Revision: 12008
owl
Florian Fainelli 2008-07-30 10:04:03 +00:00
parent bbc96d103a
commit 890c213508
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ include $(INCLUDE_DIR)/package.mk
ifeq ($(ARCH),powerpc) ifeq ($(ARCH),powerpc)
FPIC:=-fPIC FPIC:=-fPIC
endif endif
ifeq ($(ARCH),x86_64)
FPIC:=-fPIC
endif
define Package/lua/Default define Package/lua/Default