Merge pull request #348 from rgacogne/stubby-libbsd-link

Fix a linking issue in stubby when libbsd is present
This commit is contained in:
wtoorop 2017-10-27 09:57:48 +02:00 committed by GitHub
commit 24f7ae3ea6
1 changed files with 1 additions and 0 deletions

View File

@ -1270,6 +1270,7 @@ fi
# system implementation.
PKG_CHECK_MODULES([LIBBSD],[libbsd-overlay],[
LIBS="$LIBS $LIBBSD_LIBS"
STUBBY_LIBS="$STUBBY_LIBS $LIBBSD_LIBS"
CFLAGS="$CFLAGS $LIBBSD_CFLAGS"
],[
AC_MSG_WARN([libbsd not found or usable; using embedded code instead])