* 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 b0c0568..40684a1 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 de8d65d..1657407 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.