diff configure @ 2515:7bf8a0179e32

Ensure we use the user's LDFLAGS if specified
author Chris Cannam
date Fri, 24 Apr 2020 10:53:04 +0100
parents c56056a3dfb2
children 19effcb6b21c
line wrap: on
line diff
--- a/configure	Wed Apr 22 17:18:49 2020 +0100
+++ b/configure	Fri Apr 24 10:53:04 2020 +0100
@@ -4508,7 +4508,10 @@
 fi
 
 CXXFLAGS="$CXXFLAGS_BUILD $SV_DEFINES_BUILD"
-LDFLAGS="$LDFLAGS_BUILD"
+
+if test x"LDFLAGS" = x; then
+   LDFLAGS="$LDFLAGS_BUILD"
+fi
 
 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \