mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
build: Use CPPFLAGS for obsd
Fixing build failure detected by sr.ht for OpenBSD: ``` src/ui/inputwin.c: In function '_inp_rl_startup_hook': src/ui/inputwin.c:444:5: error: implicit declaration of function 'rl_bind_keyseq'; did you mean 'rl_bind_key'? [-Werror=implicit-function-declaration] 444 | rl_bind_keyseq("\\e1", _inp_rl_win_1_handler); | ^~~~~~~~~~~~~~ | rl_bind_key cc1: all warnings being treated as errors ``` Seems like both OSX and OpenBSD need CPPFLAGS here.
This commit is contained in:
parent
0b8b851bd6
commit
35b7555399
@ -220,7 +220,7 @@ AS_IF([test "x$PLATFORM" = xosx],
|
||||
[test "x$PLATFORM" = xopenbsd],
|
||||
[AC_CHECK_FILE([/usr/local/include/ereadline],
|
||||
[LIBS="-lereadline $LIBS"
|
||||
AM_CFLAGS="-I/usr/local/include/ereadline $AM_CFLAGS"
|
||||
AM_CPPFLAGS="-I/usr/local/include/ereadline $AM_CFLAGS"
|
||||
AM_LDFLAGS="-L/usr/local/lib $AM_LDFLAGS"
|
||||
AC_SUBST(AM_LDFLAGS)])],
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user