Browse Source

x86_64 also needs -fPIC to create lua shared libraries

SVN-Revision: 12008
Florian Fainelli 17 years ago
parent
commit
890c213508
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/lua/Makefile

+ 3 - 0
package/lua/Makefile

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