diff options
author | Joe Orton <notroj@users.noreply.github.com> | 2005-02-11 13:15:22 +0000 |
---|---|---|
committer | Joe Orton <notroj@users.noreply.github.com> | 2005-02-11 13:15:22 +0000 |
commit | c30c3c6287bda325a131f8ca9a195655fad74f74 (patch) | |
tree | cb1dee59cc90b22e737cc5921053f3e007dade5f /neon-config.in | |
parent | 22fd547442d0ad39ebe9b16dce0666095609b53a (diff) | |
download | neon-git-c30c3c6287bda325a131f8ca9a195655fad74f74.tar.gz |
* neon-config.in (--libs): Don't print -L$libdir if $prefix==/usr.
Diffstat (limited to 'neon-config.in')
-rw-r--r-- | neon-config.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/neon-config.in b/neon-config.in index 8db113c..5e80440 100644 --- a/neon-config.in +++ b/neon-config.in @@ -70,12 +70,11 @@ while test $# -gt 0; do ;; --libs) - LIBS="-lneon @NEON_LIBS@" + LIBS="-lneon @NEON_LIBS@" # Don't add standard library paths - case "${libdir}" in - /usr/lib|/lib) ;; - *) LIBS="-L${libdir} ${LIBS}" ;; - esac + if test "$prefix" != "/usr"; then + LIBS="-L${libdir} ${LIBS}" ;; + fi echo @user_LDFLAGS@ ${LIBS} ;; |