X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=libs%2Ftcp_wrappers%2FMakefile;h=ce3d39a640a6d37ac96fba3a6fb4b78503b4635e;hb=c79b85617e4bf9cbe275c88273db717d34688ad3;hp=fccdf3eb823f55f0490ae1348fe5db2a903db782;hpb=25b680300e4045f2715128a41efe215ec8689568;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/libs/tcp_wrappers/Makefile b/libs/tcp_wrappers/Makefile index fccdf3eb82..ce3d39a640 100644 --- a/libs/tcp_wrappers/Makefile +++ b/libs/tcp_wrappers/Makefile @@ -27,6 +27,8 @@ define Package/libwrap URL:=ftp://ftp.porcupine.org/pub/security/index.html endef +TARGET_CFLAGS += $(FPIC) + define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ @@ -52,12 +54,6 @@ define Build/InstallDev $(CP) $(PKG_BUILD_DIR)/shared/libwrap.so* $(1)/usr/lib/ endef -define Build/UninstallDev - rm -rf \ - $(STAGING_DIR)/usr/include/tcpd.h \ - $(STAGING_DIR)/usr/lib/libwrap.{a,so*} -endef - define Package/libwrap/install $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/shared/libwrap.so.* $(1)/usr/lib/