Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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