libamsel objects should be compiled with -fPIC to allow shared library generation...
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 29 Jul 2008 08:17:00 +0000 (08:17 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 29 Jul 2008 08:17:00 +0000 (08:17 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11984 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/libamsel/Makefile

index 0305d32..d205f88 100644 (file)
@@ -36,7 +36,7 @@ define Build/Configure
 endef
 
 MAKE_FLAGS += \
-       CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)" \
+       CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -fPIC" \
        LDIR=$(PKG_BUILD_DIR) \
        PREFIX="$(PKG_INSTALL_DIR)/usr" \
        all install