diff options
author | Andy Polyakov <appro@openssl.org> | 2005-03-12 09:28:18 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-03-12 09:28:18 +0000 |
commit | aa0d4ed5fac931cbd652d9f1557bcf68e4ecec44 (patch) | |
tree | cfae31dcd454fea06a95f35b6fdb222af22afb21 /Makefile.org | |
parent | 2cf68c0b1ad860572e712893fbc4d471cf95a515 (diff) |
Move copying of .dll to apps/ and test/ to more appropriate place.
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.org b/Makefile.org index afe3d43d1c..d60d085dcc 100644 --- a/Makefile.org +++ b/Makefile.org @@ -334,11 +334,18 @@ do_cygwin-shared: if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \ libs="$(LIBKRB5) $$libs"; \ fi; \ - ( set -x; ${CC} -shared -o cyg$$i-$(SHLIB_VERSION_NUMBER).dll \ + shlib=cyg$${i}-$(SHLIB_VERSION_NUMBER).dll; \ + [ "$(PLATFORM)" = "mingw" ] && shlib=$${i}eay32.dll; \ + [ -f apps/$$shlib ] && rm apps/$$shlib; \ + [ -f test/$$shlib ] && rm test/$$shlib; \ + base=; [ $$i = "crypto" ] && base=-Wl,--image-base,0xFE00000; \ + ( set -x; ${CC} ${SHARED_LDFLAGS} \ + -shared $$base -o $$shlib \ -Wl,-Bsymbolic \ -Wl,--whole-archive lib$$i.a \ -Wl,--out-implib,lib$$i.dll.a \ - -Wl,--no-whole-archive $$libs ) || exit 1; \ + -Wl,--no-whole-archive $$libs ${EX_LIBS} ) || exit 1; \ + cp -p $$shlib apps/; cp -p $$shlib test/; \ libs="-l$$i $$libs"; \ done |