X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=Makefile.shared;h=e753f44e18fdf6878a25024e5939f6f0d7db6305;hp=06526d3786a97e3f6d2fa1bf1d4340db6767b14c;hb=5693a30813a031d3921a016a870420e7eb93ec90;hpb=cad6650f527c0a4617d3cb7f91e947a07d4cb296 diff --git a/Makefile.shared b/Makefile.shared index 06526d3786..e753f44e18 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -70,7 +70,7 @@ LIBDEPS= # The rest is private to this makefile. SET_X=: -SET_X=set -x +#SET_X=set -x top: echo "Trying to use this makefile interactively? Don't." @@ -221,13 +221,15 @@ link_app.bsd: # order to provide compatibility with pre-10.4 dlopen, modules are # linked with -bundle flag, which makes .dylib extension misleading. # It works, because dlopen is [and always was] extension-agnostic. +# Alternative to this heuristic approach is to develop specific +# MacOS X dso module relying on whichever "native" dyld interface. link_o.darwin: @ $(CALC_VERSIONS); \ SHLIB=lib$(LIBNAME); \ SHLIB_SUFFIX=.dylib; \ ALLSYMSFLAGS='-all_load'; \ NOALLSYMSFLAGS=''; \ - SHAREDFLAGS="$(CFLAGS) `echo $(SHARED_LDFLAGS) | sed s/dynamiclib/bundle/"; \ + SHAREDFLAGS="$(CFLAGS) `echo $(SHARED_LDFLAGS) | sed s/dynamiclib/bundle/`"; \ if [ -n "$(LIBVERSION)" ]; then \ SHAREDFLAGS="$$SHAREDFLAGS -current_version $(LIBVERSION)"; \ fi; \