Skip to content

Commit

Permalink
readline: Fix readline.pc to depend on ncursesw
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Oct 15, 2024
1 parent 6bd0be3 commit ffacbd0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cross/readline/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ LICENSE = GPLv3
GNU_CONFIGURE = 1
CONFIGURE_ARGS = --disable-static
CONFIGURE_ARGS += --disable-install-examples
CONFIGURE_ARGS += --with-curses=ncursesw
ADDITIONAL_CFLAGS = -O

POST_INSTALL_TARGET = readline_post_install

include ../../mk/spksrc.cross-cc.mk

.PHONY: readline_post_install
readline_post_install:
$(RUN) sed -i 's/Requires.private: ncurses/Requires.private: ncursesw/' readline.pc
$(RUN) install -m 644 readline.pc $(STAGING_INSTALL_PREFIX)/lib/pkgconfig

0 comments on commit ffacbd0

Please sign in to comment.