ncurses: install pkg-config files to fix util-linux build breakage
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
df8ca9a5c4
commit
dd16b7748d
1 changed files with 4 additions and 7 deletions
|
@ -49,6 +49,7 @@ CONFIGURE_ARGS += \
|
||||||
--enable-echo \
|
--enable-echo \
|
||||||
--enable-const \
|
--enable-const \
|
||||||
--enable-overwrite \
|
--enable-overwrite \
|
||||||
|
--enable-pc-files \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--without-ada \
|
--without-ada \
|
||||||
--without-debug \
|
--without-debug \
|
||||||
|
@ -85,6 +86,7 @@ MAKE_FLAGS += \
|
||||||
BUILD_CC="$(HOSTCC)" \
|
BUILD_CC="$(HOSTCC)" \
|
||||||
HOSTCC="$(HOSTCC)" \
|
HOSTCC="$(HOSTCC)" \
|
||||||
HOSTCCFLAGS="" \
|
HOSTCCFLAGS="" \
|
||||||
|
PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig \
|
||||||
libs
|
libs
|
||||||
|
|
||||||
define Build/Install/Default
|
define Build/Install/Default
|
||||||
|
@ -118,13 +120,8 @@ define Package/libncursesw/install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
|
$(INSTALL_DIR) $(2)/bin
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu,form}w.{a,so*} $(1)/usr/lib/
|
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/bin $(2)/bin
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw5-config $(2)/bin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ncursesw5-config $(2)/bin/
|
||||||
$(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' -e 's/$$$$INCS //g' \
|
$(SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' -e 's/$$$$INCS //g' \
|
||||||
$(2)/bin/ncursesw5-config
|
$(2)/bin/ncursesw5-config
|
||||||
|
|
Loading…
Reference in a new issue