mirror of https://github.com/getdnsapi/getdns.git
Merge pull request #348 from rgacogne/stubby-libbsd-link
Fix a linking issue in stubby when libbsd is present
This commit is contained in:
commit
24f7ae3ea6
|
@ -1270,6 +1270,7 @@ fi
|
||||||
# system implementation.
|
# system implementation.
|
||||||
PKG_CHECK_MODULES([LIBBSD],[libbsd-overlay],[
|
PKG_CHECK_MODULES([LIBBSD],[libbsd-overlay],[
|
||||||
LIBS="$LIBS $LIBBSD_LIBS"
|
LIBS="$LIBS $LIBBSD_LIBS"
|
||||||
|
STUBBY_LIBS="$STUBBY_LIBS $LIBBSD_LIBS"
|
||||||
CFLAGS="$CFLAGS $LIBBSD_CFLAGS"
|
CFLAGS="$CFLAGS $LIBBSD_CFLAGS"
|
||||||
],[
|
],[
|
||||||
AC_MSG_WARN([libbsd not found or usable; using embedded code instead])
|
AC_MSG_WARN([libbsd not found or usable; using embedded code instead])
|
||||||
|
|
Loading…
Reference in New Issue