diff options
author | runge <runge> | 2007-05-27 02:28:25 +0000 |
---|---|---|
committer | runge <runge> | 2007-05-27 02:28:25 +0000 |
commit | 713a432473d7a235c0aef1712514b34344774eea (patch) | |
tree | d178a06fcc7e2568159fe7608ff84d52d52573d7 /libvncserver-config.in | |
parent | e871649dab17d079a558c9282add9f2f6445c180 (diff) | |
download | libtdevnc-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.in | 8 |
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@ |