mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-27 18:20:02 -05:00
Fixup -L to -I for event2 includes..
git-svn-id: file:///svn/unbound/trunk@3116 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
29d77903c5
commit
ed95c1bc72
2 changed files with 2 additions and 2 deletions
2
configure
vendored
2
configure
vendored
|
|
@ -17225,7 +17225,7 @@ large outgoing port ranges. " "$LINENO" 5
|
|||
$as_echo "found in $thedir" >&6; }
|
||||
if test ! -f $thedir/lib/libevent.a -a ! -f $thedir/lib/libevent.so -a -d "$thedir/lib/event2"; then
|
||||
LDFLAGS="$LDFLAGS -L$thedir/lib/event2"
|
||||
CPPFLAGS="$CPPFLAGS -L$thedir/include/event2"
|
||||
CPPFLAGS="$CPPFLAGS -I$thedir/include/event2"
|
||||
|
||||
if test "x$enable_rpath" = xyes; then
|
||||
if echo "$thedir/lib/event2" | grep "^/" >/dev/null; then
|
||||
|
|
|
|||
|
|
@ -807,7 +807,7 @@ large outgoing port ranges. ])
|
|||
dnl if event2 exists and no event lib in dir itself, use subdir
|
||||
if test ! -f $thedir/lib/libevent.a -a ! -f $thedir/lib/libevent.so -a -d "$thedir/lib/event2"; then
|
||||
LDFLAGS="$LDFLAGS -L$thedir/lib/event2"
|
||||
CPPFLAGS="$CPPFLAGS -L$thedir/include/event2"
|
||||
CPPFLAGS="$CPPFLAGS -I$thedir/include/event2"
|
||||
ACX_RUNTIME_PATH_ADD([$thedir/lib/event2])
|
||||
else
|
||||
dnl assume /usr is in default path, do not add "".
|
||||
|
|
|
|||
Loading…
Reference in a new issue