From: John Tsiombikas Date: Thu, 7 Jan 2016 17:19:36 +0000 (+0200) Subject: fixed copying of library links in install target X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=gph-math;a=commitdiff_plain fixed copying of library links in install target --- diff --git a/Makefile b/Makefile index cfbb34d..f1d2d83 100644 --- a/Makefile +++ b/Makefile @@ -74,8 +74,8 @@ install: $(alib) $(solib) cp $(solib) $(DESTDIR)$(PREFIX)/lib/$(solib) [ -n "$(soname)" ] && \ rm -f $(DESTDIR)$(PREFIX)/lib/$(soname) $(DESTDIR)$(PREFIX)/lib/$(ldname) && \ - cp $(soname) $(DESTDIR)$(PREFIX)/lib/$(soname) && \ - cp $(ldname) $(DESTDIR)$(PREFIX)/lib/$(ldname) || true + cp -a $(soname) $(DESTDIR)$(PREFIX)/lib/$(soname) && \ + cp -a $(ldname) $(DESTDIR)$(PREFIX)/lib/$(ldname) || true .PHONY: uninstall uninstall: