* configure.host: Make SHLIB_CFLAGS include $(PICFLAG) on a
authorIan Lance Taylor <ian@airs.com>
Tue, 6 Feb 1996 17:34:18 +0000 (17:34 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 6 Feb 1996 17:34:18 +0000 (17:34 +0000)
*-*-hpux* host.

bfd/ChangeLog
bfd/configure.host

index b0c056886f772e7056495d35f302376860cf4047..40684a1b604ff0908cd162c0d5b72d58b5b8a1b3 100644 (file)
@@ -1,5 +1,8 @@
 Tue Feb  6 12:12:22 1996  Ian Lance Taylor  <ian@cygnus.com>
 
+       * configure.host: Make SHLIB_CFLAGS include $(PICFLAG) on a
+       *-*-hpux* host.
+
        * Makefile.in (program_transform_name): New variable.
        (install): Transform library name before installing it.
 
index de8d65d998b397f701f19d93b00bf031ae9a2697..1657407bbdf1ed9d6e0ea730e21af0bb15fd3a41 100644 (file)
@@ -119,6 +119,7 @@ if [ "${shared}" = "true" ]; then
   *-*-hpux*)
     # HP/UX uses .sl for shared libraries.
     SHLINK=`echo ${SHLINK} | sed -e 's/so$/sl/'`
+    SHLIB_CFLAGS='-shared $(PICFLAG)'
     ;;
   *-*-irix5*)
     # -fpic is not needed on Irix 5.