|
| 1 | +diff --git a/Makefile.org b/Makefile.org |
| 2 | +index 050019d..cb59820 100644 |
| 3 | +--- a/Makefile.org |
| 4 | ++++ b/Makefile.org |
| 5 | +@@ -290,7 +290,7 @@ build_testapps: |
| 6 | + @dir=crypto; target=testapps; $(BUILD_ONE_CMD) |
| 7 | + |
| 8 | + fips_premain_dso$(EXE_EXT): libcrypto.a |
| 9 | +- [ -z "$(FIPSCANLIB)" ] || $(CC) $(CFLAG) -Iinclude \ |
| 10 | ++ [ -z "$(FIPSCANLIB)" ] || $(CC) $(CFLAG) -fPIC -Iinclude \ |
| 11 | + -DFINGERPRINT_PREMAIN_DSO_LOAD -o $@ \ |
| 12 | + $(FIPSLIBDIR)fips_premain.c $(FIPSLIBDIR)fipscanister.o \ |
| 13 | + libcrypto.a $(EX_LIBS) |
| 14 | +@@ -367,7 +367,7 @@ libcrypto.pc: Makefile |
| 15 | + echo 'Requires: '; \ |
| 16 | + echo 'Libs: -L$${libdir} -lcrypto'; \ |
| 17 | + echo 'Libs.private: $(EX_LIBS)'; \ |
| 18 | +- echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libcrypto.pc |
| 19 | ++ echo 'Cflags: -fPIC -I$${includedir} $(KRB5_INCLUDES)' ) > libcrypto.pc |
| 20 | + |
| 21 | + libssl.pc: Makefile |
| 22 | + @ ( echo 'prefix=$(INSTALLTOP)'; \ |
| 23 | +@@ -381,7 +381,7 @@ libssl.pc: Makefile |
| 24 | + echo 'Requires: '; \ |
| 25 | + echo 'Libs: -L$${libdir} -lssl -lcrypto'; \ |
| 26 | + echo 'Libs.private: $(EX_LIBS)'; \ |
| 27 | +- echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc |
| 28 | ++ echo 'Cflags: -fPIC -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc |
| 29 | + |
| 30 | + openssl.pc: Makefile |
| 31 | + @ ( echo 'prefix=$(INSTALLTOP)'; \ |
| 32 | +@@ -395,7 +395,7 @@ openssl.pc: Makefile |
| 33 | + echo 'Requires: '; \ |
| 34 | + echo 'Libs: -L$${libdir} -lssl -lcrypto'; \ |
| 35 | + echo 'Libs.private: $(EX_LIBS)'; \ |
| 36 | +- echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc |
| 37 | ++ echo 'Cflags: -fPIC -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc |
| 38 | + |
| 39 | + Makefile: Makefile.org Configure config |
| 40 | + @echo "Makefile is older than Makefile.org, Configure or config." |
0 commit comments