diff options
author | dscho <dscho> | 2006-09-12 22:20:41 +0000 |
---|---|---|
committer | dscho <dscho> | 2006-09-12 22:20:41 +0000 |
commit | 94501cdcfaeecf09c42584589a4d419ce6ecf8aa (patch) | |
tree | 8aa891655d8745b4ca79eaa9264b9f16fefef86d /libvncserver-config.in | |
parent | 75b900a38ae72c6a64c358f4cf76c1a2627bf2ea (diff) | |
download | libtdevnc-94501cdcfaeecf09c42584589a4d419ce6ecf8aa.tar.gz libtdevnc-94501cdcfaeecf09c42584589a4d419ce6ecf8aa.zip |
fix in-place compilation of VisualNaCro
Diffstat (limited to 'libvncserver-config.in')
-rw-r--r-- | libvncserver-config.in | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libvncserver-config.in b/libvncserver-config.in index 13fc4c1..24dbced 100644 --- a/libvncserver-config.in +++ b/libvncserver-config.in @@ -11,7 +11,7 @@ if [ -f "`dirname "$0"`/libvncserver-config.in" ]; then dir="`dirname "$0"`" prefix="`cd "$dir"; pwd`" includedir="$prefix" - libdir="$prefix"/libvncserver + libdir="$prefix/libvncserver $prefix/libvncclient" fi usage="\ @@ -55,12 +55,13 @@ while test $# -gt 0; do echo "$includes" ;; --libs) - if [ "`uname`" = "SunOS" ]; then - libdirs="-L$libdir -R$libdir" - else - libdirs="-L$libdir" - fi - echo "$libdirs" -lvncserver @LIBS@ @WSOCKLIB@ + for dir in $libdir; do + echo -n "-L$dir " + if [ "`uname`" = "SunOS" ]; then + echo -n "-R$dir " + fi + done + echo -lvncserver -lvncclient @LIBS@ @WSOCKLIB@ ;; --link) echo @CC@ |