Merge pull request #346 from okuoku/fbsd-build-fix

readline: Fix nitro.mk to honor pkg-config results
This commit is contained in:
Sunrin SHIMURA 2016-08-12 20:34:09 +09:00 committed by GitHub
commit 2a279f9d2e
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ ifeq ($(libedit_exists),0)
LDFLAGS += `pkg-config libedit --libs`
endif
contrib/src/readline.o: contrib/src/readline.c
$(CC) $(CFLAGS) -o $@ $< `pkg-config libedit --cflags`
contrib/30.readline/src/readline.o: contrib/30.readline/src/readline.c
$(CC) $(CFLAGS) -c -o $@ $< `pkg-config libedit --cflags`
test-readline: bin/picrin
for test in `ls contrib/30.readline/t/*.scm`; do \