summaryrefslogtreecommitdiff
path: root/neon-config.in
diff options
context:
space:
mode:
Diffstat (limited to 'neon-config.in')
-rw-r--r--neon-config.in9
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}
;;