libamsel objects should be compiled with -fPIC to allow shared library generation...
[openwrt/svn-archive/archive.git] / 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