summaryrefslogtreecommitdiffstats
path: root/x11vnc/misc/enhanced_tightvnc_viewer/build.unix
diff options
context:
space:
mode:
authorrunge <runge>2007-03-20 23:35:08 +0000
committerrunge <runge>2007-03-20 23:35:08 +0000
commitd013b8766ff947468b0f564a539bc17cd7c303b0 (patch)
tree8cadc5d514a7fadbef8ef1c7b115d863cff8a2e8 /x11vnc/misc/enhanced_tightvnc_viewer/build.unix
parent5e4546628cbd6a450fa7eeea67c1434269cf6154 (diff)
downloadlibtdevnc-d013b8766ff947468b0f564a539bc17cd7c303b0.tar.gz
libtdevnc-d013b8766ff947468b0f564a539bc17cd7c303b0.zip
ssvnc: sync to 1.0.13 release.
Diffstat (limited to 'x11vnc/misc/enhanced_tightvnc_viewer/build.unix')
-rwxr-xr-xx11vnc/misc/enhanced_tightvnc_viewer/build.unix11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11vnc/misc/enhanced_tightvnc_viewer/build.unix b/x11vnc/misc/enhanced_tightvnc_viewer/build.unix
index e18510c..64da4da 100755
--- a/x11vnc/misc/enhanced_tightvnc_viewer/build.unix
+++ b/x11vnc/misc/enhanced_tightvnc_viewer/build.unix
@@ -87,13 +87,16 @@ mkdir -p $tmp || exit 1
#
libs="$tmp/libs"
mkdir -p $libs || exit 1
-#for liba in libz.a libjpeg.a libssl.a libcrypto.a
-for liba in libz.a libjpeg.a
+for liba in libz.a libjpeg.a libssl.a libcrypto.a
+#for liba in libz.a libjpeg.a
do
for dir in /usr/lib /lib /usr/local/lib /usr/pkg/lib /usr/sfw/lib /usr/openwin/lib
do
if [ "$name" = "Linux.x86_64" -o "$name" = "Linux.ppc64" ] ; then
dir64=`echo "$dir" | sed -e 's,lib,lib64,'`
+ if [ -d $dir64 ]; then
+ dir=$dir64
+ fi
fi
try="$dir/$liba"
if [ -f $try ]; then
@@ -128,6 +131,10 @@ END
fi
fi
+if [ -d /var/tmp/LIBS ]; then
+ LDFLAGS_OS="$LDFLAGS_OS -L/var/tmp/LIBS"
+fi
+
if [ `uname` = "SunOS" ]; then
LDFLAGS_OS="$LDFLAGS_OS -L/usr/sfw/lib -R/usr/sfw/lib"
CPPFLAGS_OS="$CPPFLAGS_OS -I /usr/sfw/include"