diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2005-02-11 13:15:22 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2005-02-11 13:15:22 +0000 |
commit | d2ff84ecab0ce16221c9a41502ee716c6b270157 (patch) | |
tree | cb1dee59cc90b22e737cc5921053f3e007dade5f /neon-config.in | |
parent | 76531c6ba38e007588ed8b89891c9a4f2fc0b12e (diff) | |
download | neon-d2ff84ecab0ce16221c9a41502ee716c6b270157.tar.gz |
* neon-config.in (--libs): Don't print -L$libdir if $prefix==/usr.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@477 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
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} ;; |