Skip to content

Commit

Permalink
readline: Fix readline.pc to depend on ncursesw (SynoCommunity#6283)
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 authored Oct 15, 2024
1 parent 06d5a42 commit 5b963ec
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 5b963ec

Please sign in to comment.