X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=Makefile.shared;h=e753f44e18fdf6878a25024e5939f6f0d7db6305;hp=6e53c2de188865297defc69280c9945580bbd03c;hb=fd2b65ce5385a09b99c9be5e8ebbb56fb0167226;hpb=1dc02bbaf5fbce9ad13e0adaad9521b4d2ee21bc diff --git a/Makefile.shared b/Makefile.shared index 6e53c2de18..e753f44e18 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -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; \