Commit 94501cdc authored by dscho's avatar dscho

fix in-place compilation of VisualNaCro

parent 75b900a3
...@@ -4,7 +4,7 @@ OBJS=nacro.o ...@@ -4,7 +4,7 @@ OBJS=nacro.o
ISRCS=nacro_wrap.c ISRCS=nacro_wrap.c
IOBJS=nacro_wrap.o IOBJS=nacro_wrap.o
TARGET=nacro TARGET=nacro
LIBS= -lvncclient @LIBVNCSERVERLIBS@ LIBS= @LIBVNCSERVERLIBS@
nacro_CFLAGS= @LIBVNCSERVERCFLAGS@ nacro_CFLAGS= @LIBVNCSERVERCFLAGS@
......
...@@ -11,7 +11,7 @@ if [ -f "`dirname "$0"`/libvncserver-config.in" ]; then ...@@ -11,7 +11,7 @@ if [ -f "`dirname "$0"`/libvncserver-config.in" ]; then
dir="`dirname "$0"`" dir="`dirname "$0"`"
prefix="`cd "$dir"; pwd`" prefix="`cd "$dir"; pwd`"
includedir="$prefix" includedir="$prefix"
libdir="$prefix"/libvncserver libdir="$prefix/libvncserver $prefix/libvncclient"
fi fi
usage="\ usage="\
...@@ -55,12 +55,13 @@ while test $# -gt 0; do ...@@ -55,12 +55,13 @@ while test $# -gt 0; do
echo "$includes" echo "$includes"
;; ;;
--libs) --libs)
if [ "`uname`" = "SunOS" ]; then for dir in $libdir; do
libdirs="-L$libdir -R$libdir" echo -n "-L$dir "
else if [ "`uname`" = "SunOS" ]; then
libdirs="-L$libdir" echo -n "-R$dir "
fi fi
echo "$libdirs" -lvncserver @LIBS@ @WSOCKLIB@ done
echo -lvncserver -lvncclient @LIBS@ @WSOCKLIB@
;; ;;
--link) --link)
echo @CC@ echo @CC@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment