From: Guus Sliepen Date: Mon, 24 Jan 2022 13:32:45 +0000 (+0100) Subject: Move -lssp to LIBS. X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=e856b04f7e07395bc4e085b2ef25bef55331d1a6;p=tinc Move -lssp to LIBS. Append -lssp to LIBS to ensure the correct order of linking. --- diff --git a/configure.ac b/configure.ac index 4fa9975d..ddfa0a39 100644 --- a/configure.ac +++ b/configure.ac @@ -253,7 +253,7 @@ AS_IF([test "x$enable_hardening" != "xno"], *mingw*) AX_CHECK_LINK_FLAG([-Wl,--dynamicbase], [LDFLAGS="$LDFLAGS -Wl,--dynamicbase"]) AX_CHECK_LINK_FLAG([-Wl,--nxcompat], [LDFLAGS="$LDFLAGS -Wl,--nxcompat"]) - AX_CHECK_LINK_FLAG([-lssp], [LDFLAGS="$LDFLAGS -lssp"]) + AX_CHECK_LINK_FLAG([-lssp], [LIBS="$LIBS -lssp"]) ;; *) AX_CHECK_COMPILE_FLAG([-fPIE], [CPPFLAGS="$CPPFLAGS -fPIE"])