diff options
author | Andy Polyakov <appro@openssl.org> | 2007-08-01 14:22:36 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2007-08-01 14:22:36 +0000 |
commit | ef85b85b12e30fc0a04ef164c31cf4b1285f878d (patch) | |
tree | 11fb49e0e4ade69d1cbec598ca64a3b55fbe4573 | |
parent | 4d4d27a2a078fb0097bd8d928fa978471d61fefc (diff) |
Erroneously omitted code from "jumbo framework update."
-rw-r--r-- | Makefile.shared | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.shared b/Makefile.shared index 681cc193bf..64e51333a1 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -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)"; \ |