Commit 6cd5e961 authored by Sam Thursfield's avatar Sam Thursfield
Browse files

Preserve LDFLAGS that are passed to ./configure

This is needed to build when some dependencies are installed into
locations outside of /usr.
parent 501d8b2b
......@@ -116,7 +116,7 @@ dnl This should be fixed so Pd can use ALSA shared libraries where appropriate.
AC_CHECK_LIB(jack,jack_set_error_function,PDLIB="$PDLIB -ljack";jack=yes,jack=no)
fi
LDFLAGS="-Wl,-export-dynamic"
LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
if test "$static" = "yes"; then
LDFLAGS="$LDFLAGS -static"
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment