mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-09 16:26:55 +00:00
ncurses: package the tinfo library separately
Some packages expect it that way Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
f6059cc118
commit
975f7160dd
@ -61,6 +61,7 @@ CONFIGURE_ARGS += \
|
|||||||
--disable-home-terminfo \
|
--disable-home-terminfo \
|
||||||
--with-normal \
|
--with-normal \
|
||||||
--with-shared \
|
--with-shared \
|
||||||
|
--with-termlib \
|
||||||
--with-terminfo-dirs=/usr/share/terminfo \
|
--with-terminfo-dirs=/usr/share/terminfo \
|
||||||
--with-default-terminfo-dir=/usr/share/terminfo \
|
--with-default-terminfo-dir=/usr/share/terminfo \
|
||||||
--enable-widec \
|
--enable-widec \
|
||||||
@ -116,7 +117,7 @@ endef
|
|||||||
|
|
||||||
define Package/libncursesw/install
|
define Package/libncursesw/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
for lib in ncurses panel menu form; do \
|
for lib in ncurses panel menu form tinfo; do \
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib$$$${lib}w.so* $(1)/usr/lib/; \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib$$$${lib}w.so* $(1)/usr/lib/; \
|
||||||
ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \
|
ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \
|
||||||
done
|
done
|
||||||
@ -124,7 +125,7 @@ endef
|
|||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)
|
||||||
for lib in ncurses panel menu form; do \
|
for lib in ncurses panel menu form tinfo; do \
|
||||||
ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \
|
ln -s lib$$$${lib}w.so $(1)/usr/lib/lib$$$${lib}.so; \
|
||||||
done
|
done
|
||||||
$(INSTALL_DIR) $(2)/bin
|
$(INSTALL_DIR) $(2)/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user