diff options
author | Thomas Radke <tradke@aei.mpg.de> | 2000-12-01 22:08:03 (GMT) |
---|---|---|
committer | Thomas Radke <tradke@aei.mpg.de> | 2000-12-01 22:08:03 (GMT) |
commit | 896558b27d8f152be89a6b2074054a3ee799dc50 (patch) | |
tree | 626dd5c6d24bbbc86563ef57da5fb299c3c62759 | |
parent | 14e987f40ca89776609877ed25286bb43845b7c7 (diff) | |
download | hdf5-896558b27d8f152be89a6b2074054a3ee799dc50.zip hdf5-896558b27d8f152be89a6b2074054a3ee799dc50.tar.gz hdf5-896558b27d8f152be89a6b2074054a3ee799dc50.tar.bz2 |
[svn-r3060]
Purpose:
Bugfix
Description:
The gcc linker couldn't resolve any socket routine symbols
if the Stream VFD was configure.
Solution:
Add the socket library to the LIBS makefile variable not just
when compiling with the native cc compiler
but also if using GNU tools (such as on Solaris x86 systems).
Platforms tested:
SunOS 5.5 with GNU cc (hatteras),
SunOS 5.6 with native cc (thor.sistec.kp.dlr.de)
-rw-r--r-- | config/solaris2.x | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/solaris2.x b/config/solaris2.x index 894988b..d794d11 100644 --- a/config/solaris2.x +++ b/config/solaris2.x @@ -18,7 +18,6 @@ fi # Try solaris native compiler flags if test "X-" = "X-$cc_flags_set"; then CFLAGS="-erroff=%none -DBSD_COMP" - LIBS="$LIBS -lsocket" DEBUG_CFLAGS=-g DEBUG_CPPFLAGS= PROD_CFLAGS="-O -s" @@ -31,3 +30,6 @@ if test "X-" = "X-$cc_flags_set"; then ($CC -V 2>&1) | grep -s 'cc: .* C 4\.' >/dev/null 2>&1 \ && PROD_CFLAGS="`echo $PROD_CFLAGS | sed -e 's/-O//'`" fi + +# Add socket lib for the Stream Virtual File Driver +LIBS="$LIBS -lsocket" |