diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-06-04 14:18:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-04 14:18:35 +0200 |
commit | 8e6ee1b9e924fbbbeb5594eb89e7a570f36ab6e1 (patch) | |
tree | 78cedf4bee124fa89d103e0ea7b0091f56695cc1 | |
parent | bb066409719f3b0e820115a3f89589457bf7f500 (diff) | |
parent | 196b77b686ab407e4e01fb3ecde07a5f199f4045 (diff) |
Merge pull request #4889 from puckipedia/fix-atomic-sunos
configure.ac: fix use of unread LIBS variable
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3bce401db..03b123366 100644 --- a/configure.ac +++ b/configure.ac @@ -65,7 +65,7 @@ AC_SYS_LARGEFILE AC_STRUCT_DIRENT_D_TYPE if test "$sys_name" = sunos; then # Solaris requires -lsocket -lnsl for network functions - LIBS="-lsocket -lnsl $LIBS" + LDFLAGS="-lsocket -lnsl $LDFLAGS" fi @@ -150,7 +150,7 @@ int main() { }]])], GCC_ATOMIC_BUILTINS_NEED_LIBATOMIC=no, GCC_ATOMIC_BUILTINS_NEED_LIBATOMIC=yes) AC_MSG_RESULT($GCC_ATOMIC_BUILTINS_NEED_LIBATOMIC) if test "x$GCC_ATOMIC_BUILTINS_NEED_LIBATOMIC" = xyes; then - LIBS="-latomic $LIBS" + LDFLAGS="-latomic $LDFLAGS" fi PKG_PROG_PKG_CONFIG |