components/zlib/patches/system-test.patch
changeset 5060 cd8d20971627
equal deleted inserted replaced
5059:61e2751151cd 5060:cd8d20971627
       
     1 Patch origin: in-house
       
     2 Patch status: Solaris-specific; not suitable for upstream
       
     3 
       
     4 Allows to test minigzip with installed version of zlib.
       
     5 
       
     6 --- zlib-1.2.8/Makefile.in
       
     7 +++ zlib-1.2.8/Makefile.in
       
     8 @@ -92,9 +92,11 @@
       
     9  	rm -f $$TMPST
       
    10  
       
    11  testshared: shared
       
    12 -	@LD_LIBRARY_PATH=`pwd`:$(LD_LIBRARY_PATH) ; export LD_LIBRARY_PATH; \
       
    13 +	@if test -z $(SYSTEM_TEST); then \
       
    14 +	LD_LIBRARY_PATH=`pwd`:$(LD_LIBRARY_PATH) ; export LD_LIBRARY_PATH; \
       
    15  	LD_LIBRARYN32_PATH=`pwd`:$(LD_LIBRARYN32_PATH) ; export LD_LIBRARYN32_PATH; \
       
    16  	DYLD_LIBRARY_PATH=`pwd`:$(DYLD_LIBRARY_PATH) ; export DYLD_LIBRARY_PATH; \
       
    17 +	fi; \
       
    18  	SHLIB_PATH=`pwd`:$(SHLIB_PATH) ; export SHLIB_PATH; \
       
    19  	TMPSH=tmpsh_$$; \
       
    20  	if echo hello world | ./minigzipsh | ./minigzipsh -d && ./examplesh $$TMPSH; then \