]> granicus.if.org Git - openssl/commitdiff
Erroneously omitted code from "jumbo framework update."
authorAndy Polyakov <appro@openssl.org>
Wed, 1 Aug 2007 14:22:36 +0000 (14:22 +0000)
committerAndy Polyakov <appro@openssl.org>
Wed, 1 Aug 2007 14:22:36 +0000 (14:22 +0000)
Makefile.shared

index 681cc193bf8e1db121fbb8ef334b2109fb8c7901..64e51333a13012c5e078e1ec0b8f2e95480ca770 100644 (file)
@@ -200,8 +200,10 @@ link_app.bsd:
 # to use native NSModule(3) API and refers to dlfcn as termporary hack.
 link_o.darwin:
        @ $(CALC_VERSIONS); \
-       SHLIB=lib$(LIBNAME); \
-       SHLIB_SUFFIX=.so; \
+       SHLIB=`expr "$$THIS" : '.*/\([^/\.]*\)\.'`; \
+       SHLIB=$${SHLIB:-lib$(LIBNAME)}; \
+       SHLIB_SUFFIX=`expr "$$THIS" : '.*\(\.[^\.]*\)$$'`; \
+       SHLIB_SUFFIX=$${SHLIB_SUFFIX:-.so}; \
        ALLSYMSFLAGS='-all_load'; \
        NOALLSYMSFLAGS=''; \
        SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS)"; \