Some platforms need $(EX_LIBS) when building fips_standalone_sha1 from
authorDr. Stephen Henson <steve@openssl.org>
Wed, 14 Jan 2009 11:10:33 +0000 (11:10 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 14 Jan 2009 11:10:33 +0000 (11:10 +0000)
an external fipscanister.o

fips/Makefile

index d6dcb79a282c77976619aa0ceadcd15e1cb36e42..4e016b7b0ea977a7f32e0de606545c8539c0ea2f 100644 (file)
@@ -123,7 +123,7 @@ fips_premain_dso$(EXE_EXT): fips_premain.c
                $(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)