diff options
| author | Cory Fields <[email protected]> | 2014-09-23 17:52:43 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2014-09-25 14:56:26 -0400 |
| commit | dc66ff53b4b4d31fda4ec4ee500a6a8f98bae6ac (patch) | |
| tree | 216e93cda09c6470e501a61f113240cb271913b2 /depends | |
| parent | depends: give miniupnpc cppflags (diff) | |
| download | discoin-dc66ff53b4b4d31fda4ec4ee500a6a8f98bae6ac.tar.xz discoin-dc66ff53b4b4d31fda4ec4ee500a6a8f98bae6ac.zip | |
depends: make LDFLAGS act like the other flags
Diffstat (limited to 'depends')
| -rw-r--r-- | depends/config.site.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/depends/config.site.in b/depends/config.site.in index abd814ea6..c80c3e8f2 100644 --- a/depends/config.site.in +++ b/depends/config.site.in @@ -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@" @@ -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 |