X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/640652a244c6916ea5c2a886c52d477d5742e0d8..495ea3c8471821855f1fc06ef5f66ffa05fabe62:/package/ncurses/Makefile diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile index 6da4299e8..a27334b3e 100644 --- a/package/ncurses/Makefile +++ b/package/ncurses/Makefile @@ -28,6 +28,8 @@ endef define Build/Configure endef +TARGET_CFLAGS += $(FPIC) + define Build/Compile rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) @@ -155,19 +157,4 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*} $(1)/usr/lib/ endef -define Build/UninstallDev - rm -rf \ - $(1)/usr/include/curses.h \ - $(1)/usr/include/ncurses.h \ - $(1)/usr/include/ncurses_dll.h \ - $(1)/usr/include/menu.h \ - $(1)/usr/include/panel.h \ - $(1)/usr/include/term{,cap}.h \ - $(1)/usr/include/unctrl.h \ - $(1)/usr/include/form.h \ - $(1)/usr/include/eti.h \ - $(1)/usr/lib/libcurses.so \ - $(1)/usr/lib/lib{ncurses,panel,menu,form}.{a,so*} -endef - $(eval $(call BuildPackage,libncurses))