Kaydet (Commit) 96e1446f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Unfortunately, openssl's "no-shared" apparently also implies no -fPIC

...so building dynamic libraries down the road that link in the openssl archives
fails.  Band-aid fix that by always passing in -fPIC (alternatives would be to
patch the openssl Makefiles to only build archives and no dynamic libraries even
under "shared" or to find another fix for the original Mac OS X hiden visibility
program that triggered 9f873641 "Only build in
ExternalProject_openssl what's needed in ExternalPackage_openssl").

Change-Id: I6b92ab55b0bbd340aacf325823b1f297e95f9197
üst 18251a64
...@@ -85,7 +85,7 @@ $(call gb_ExternalProject_get_state_target,openssl,build): ...@@ -85,7 +85,7 @@ $(call gb_ExternalProject_get_state_target,openssl,build):
$(if $(SYSBASE),-I$(SYSBASE)/usr/include -L$(SYSBASE)/usr/lib)) \ $(if $(SYSBASE),-I$(SYSBASE)/usr/include -L$(SYSBASE)/usr/lib)) \
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \ $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
&& $(MAKE) build_libs \ && $(MAKE) build_libs \
CC="$(CC) $(if $(filter-out WNT,$(OS)),\ CC="$(CC) -fPIC $(if $(filter-out WNT,$(OS)),\
$(if $(filter TRUE,$(HAVE_GCC_VISIBILITY_FEATURE)),\ $(if $(filter TRUE,$(HAVE_GCC_VISIBILITY_FEATURE)),\
-fvisibility=hidden))" \ -fvisibility=hidden))" \
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment