diff options
author | appro <appro> | 2007-08-01 14:22:36 +0000 |
---|---|---|
committer | appro <appro> | 2007-08-01 14:22:36 +0000 |
commit | 787995b3789041c56ddd19305e6c878c2e79e0b6 (patch) | |
tree | ae4165233803f6005e449c775acbc1939dee0b52 | |
parent | 597f744cd584aacb2cded85e226336aece5777fe (diff) | |
download | openssl-787995b3789041c56ddd19305e6c878c2e79e0b6.tar.gz |
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 681cc193b..64e51333a 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)"; \ |