mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
honor LDFLAGS when using pkg-config to find libsodium
This commit is contained in:
@@ -190,8 +190,8 @@ if test "x${_havenacl}" = "xno"; then
|
|||||||
AC_MSG_CHECKING([pkg-config for libsodium])
|
AC_MSG_CHECKING([pkg-config for libsodium])
|
||||||
if pkg-config --exists libsodium; then
|
if pkg-config --exists libsodium; then
|
||||||
# found it
|
# found it
|
||||||
LDFLAGS=`pkg-config --libs libsodium`
|
LDFLAGS="`pkg-config --libs libsodium` ${LDFLAGS}"
|
||||||
CFLAGS=`pkg-config --cflags libsodium`
|
CFLAGS="`pkg-config --cflags libsodium` ${CFLAGS}"
|
||||||
_ldlib=`pkg-config --libs libsodium | cut -d ' ' -f 1 | cut -d L -f 2`
|
_ldlib=`pkg-config --libs libsodium | cut -d ' ' -f 1 | cut -d L -f 2`
|
||||||
_havenacl=yes
|
_havenacl=yes
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
|
|||||||
Reference in New Issue
Block a user