1997.03.05 12:28 "Shared libtiff on HP/UX with gcc", by Ulrik Dickow
A nice new feature of v3.4beta036 is that `configure' now _almost_ knows how to build and use a shared libtiff on HP/UX systems with gcc (and HP's linker).
The one thing missing is to link the tools in such a way that they can still find libtiff.sl when it has been installed elsewhere and the build tree deleted. `configure' should therefore use exactly the same TIFFLIBREF for gcc as for non-gcc. The following patch does this, and also cleans up an obsolete comment:
===========================================================================
--- tiff-v3.4beta036/configure.shipped Fri Feb 21 03:11:18 1997
+++ tiff-v3.4beta036/configure Wed Mar 5 11:01:49 1997
@@ -1117,12 +1117,12 @@
DSOOPTS='-fpic -shared'
LIBCOPTS=-fpic
DSO=HPUX
+ TIFFLIBREF="-Wl,+s,+b${DIR_LIB}"' -L${DEPTH}/libtiff -ltiff'
;;
*-hpux*)
DSOSUF=sl
DSOOPTS='-b'
LIBCOPTS="+Z"
-# LIBPORT="-Wl,+b${DIR_LIB}"
DSO=HPUX
TIFFLIBREF="-Wl,+s,+b${DIR_LIB}"' -L${DEPTH}/libtiff -ltiff'
;;
===========================================================================
--
Ulrik Dickow / ukd@kampsax.dk / Phone +45 36 39 08 00 / Fax +45 36 77 03 01
.............. Linux -- the choice of a GNU generation ....................