From 890c213508cc7702135bf289b48fbb366eea5e3b Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 30 Jul 2008 10:04:03 +0000 Subject: [PATCH] x86_64 also needs -fPIC to create lua shared libraries SVN-Revision: 12008 --- package/lua/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/lua/Makefile b/package/lua/Makefile index 96dda822ce9..d29b3235d52 100644 --- a/package/lua/Makefile +++ b/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 -- 2.30.2