summaryrefslogtreecommitdiffstats
path: root/libvncserver-config.in
diff options
context:
space:
mode:
authorrunge <runge>2007-05-27 02:28:25 +0000
committerrunge <runge>2007-05-27 02:28:25 +0000
commit713a432473d7a235c0aef1712514b34344774eea (patch)
treed178a06fcc7e2568159fe7608ff84d52d52573d7 /libvncserver-config.in
parente871649dab17d079a558c9282add9f2f6445c180 (diff)
downloadlibtdevnc-713a432473d7a235c0aef1712514b34344774eea.tar.gz
libtdevnc-713a432473d7a235c0aef1712514b34344774eea.zip
Fix --libs, echo -n doesn't work everywhere. Question: why -R only for Solaris??
Diffstat (limited to 'libvncserver-config.in')
-rw-r--r--libvncserver-config.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/libvncserver-config.in b/libvncserver-config.in
index 24dbced..d8e4081 100644
--- a/libvncserver-config.in
+++ b/libvncserver-config.in
@@ -55,13 +55,15 @@ while test $# -gt 0; do
echo "$includes"
;;
--libs)
+ libs=""
for dir in $libdir; do
- echo -n "-L$dir "
+ libs="$libs -L$dir"
if [ "`uname`" = "SunOS" ]; then
- echo -n "-R$dir "
+ # why only Solaris??
+ libs="$libs -R$dir"
fi
done
- echo -lvncserver -lvncclient @LIBS@ @WSOCKLIB@
+ echo "$libs" -lvncserver -lvncclient @LIBS@ @WSOCKLIB@
;;
--link)
echo @CC@