Skip to content

Commit

Permalink
depends: make LDFLAGS act like the other flags
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni committed Sep 25, 2014
1 parent b1efba8 commit dc66ff5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion depends/config.site.in
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ export PATH=$prefix/native/bin:$PATH
export PKG_CONFIG="`which pkg-config` --static"
export PKG_CONFIG_LIBDIR=$prefix/lib/pkgconfig
export PKG_CONFIG_PATH=$prefix/share/pkgconfig

export CPPFLAGS="-I$prefix/include/ $CPPFLAGS"
export LDFLAGS="-L$prefix/lib $LDFLAGS"

export CC="@CC@"
export CXX="@CXX@"
Expand Down Expand Up @@ -84,4 +86,6 @@ fi
if test -n "@CPPFLAGS@"; then
export CPPFLAGS="@CPPFLAGS@ $CPPFLAGS"
fi
export LDFLAGS="-L$prefix/lib @LDFLAGS@ $LDFLAGS"
if test -n "@LDFLAGS@"; then
export LDFLAGS="@LDFLAGS@ $LDFLAGS"
fi

0 comments on commit dc66ff5

Please sign in to comment.