[Zlib-devel] [patch] fix installing when shared libs are disabled

Enrico Weigelt weigelt at metux.de
Wed Dec 8 13:16:25 EST 2010


* Mike Frysinger <vapier at gentoo.org> schrieb:
> only install the shared lib if it's enabled
> 
> --- a/Makefile.in
> +++ b/Makefile.in
> @@ -168,7 +168,9 @@
>  	- at if [ ! -d $(DESTDIR)$(man3dir)      ]; then mkdir -p $(DESTDIR)$(man3dir); fi
>  	- at if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi
>  	cp $(STATICLIB) $(DESTDIR)$(libdir)
> -	cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)
> +	if test "$(SHAREDLIBV)" ; then \
> +	  cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir); \
> +	fi
>  	cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB)
>  	-@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1
>  	- at cd $(DESTDIR)$(sharedlibdir); if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \
> -mike

Didn't we already have it issue month ago ?

Time to use an vcs ... ;-o


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt at metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------




More information about the Zlib-devel mailing list