File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ ZLIB_TAR = $(ICC_ROOT)/openssl_source/$(ZLIB_NAME).tar.gz
1818# EX_SUFFIX (=_ex) is defined to build from source already extracted from tar file and
1919# checked into source control. This option is used by iSeries/OS400 for Clearcase builds.
2020# removed zlib version from ZLIB_DIR so that the name does not keep changing so that MSVC projects are possible
21- ZLIB_DIR = $(ICC_ROOT ) /openssl_source/ zlib$(EX_SUFFIX )
21+ ZLIB_DIR = $(ICC_ROOT ) /zlib$(EX_SUFFIX )
2222
2323ZLIB_SRC = $(ZLIB_DIR ) /adler32.c $(ZLIB_DIR ) /compress.c $(ZLIB_DIR ) /crc32.c \
2424 $(ZLIB_DIR ) /deflate.c $(ZLIB_DIR ) /trees.c $(ZLIB_DIR ) /zutil.c
@@ -76,12 +76,17 @@ zutil$(OBJSUFX): $(ZLIB_DIR)/zutil.c $(ZLIB_DIR)/zlib.h
7676# -
7777
7878create_zlib : $(ZLIB_TAR )
79+ if [ -e $( ZLIB_DIR) ] ; then rm -r $( ZLIB_DIR) ; fi
7980 [ -n " $( EX_SUFFIX) " ] || \
80- ( cd $( ICC_ROOT) ; \
81- tar xzf openssl_source/$(ZLIB_NAME ) .tar.gz ; \
81+ ( cd .. ; \
82+ rm -rf x; mkdir x; cd x; \
83+ tar xzf $(ZLIB_TAR ) ; \
84+ sleep 1 ; \
85+ mv $(ZLIB_NAME ) $(ZLIB_DIR ) ; \
86+ cd ..; \
8287 )
8388 [ -n " $( EX_SUFFIX) " ] || \
84- ( cd $( ICC_ROOT ) / $( ZLIB_NAME ) ; \
85- sh $( ICC_ROOT ) /openssl_source/tools/patchem2 " $( ICC_ROOT ) /openssl_source/zlib/$( ZLIB_VER) " ; \
89+ ( cd $( ZLIB_DIR ) ; \
90+ sh .. /openssl_source/tools/patchem2 " .. /openssl_source/zlib/$( ZLIB_VER) " ; \
8691 )
8792
You can’t perform that action at this time.
0 commit comments