fips/Makefile:126 : fips_standalone_sha1 needs to be built with $(EX_LIBS) otherwise may give an error about missing socket/nsl calls on some systems (Solaris, SCO)
Diff is against : ftp://openssl.org/snapshot/openssl-0.9.8-stable-SNAP-20081123.tar.gz
# fips/Makefile:126 : fips_standalone_sha1 needs to be built # with $(EX_LIBS) otherwise may give an error about missing # socket/nsl calls on some systems (Solaris, SCO) # - Brad diff -ruN openssl-0.9.8-stable-SNAP-20081123.orig/fips/Makefile openssl-0.9.8-stable-SNAP-20081123/fips/Makefile --- openssl-0.9.8-stable-SNAP-20081123.orig/fips/Makefile 2008-09-23 08:08:26.000000000 -0400 +++ openssl-0.9.8-stable-SNAP-20081123/fips/Makefile 2008-11-23 11:19:13.000000000 -0500 @@ -123,7 +123,7 @@ $(FIPSLIBDIR)fipscanister.o ../libcrypto.a $(EX_LIBS) # this is executed only when linking with external fipscanister.o fips_standalone_sha1$(EXE_EXT): sha/fips_standalone_sha1.c - $(CC) $(CFLAGS) -DFIPSCANISTER_O -o $@ sha/fips_standalone_sha1.c $(FIPSLIBDIR)fipscanister.o + $(CC) $(CFLAGS) -DFIPSCANISTER_O -o $@ sha/fips_standalone_sha1.c $(FIPSLIBDIR)fipscanister.o $(EX_LIBS) subdirs: @target=all; $(RECURSIVE_MAKE)