diff options
Diffstat (limited to 'dev-libs/wiringPi/files/wiringPi_Makefile.patch')
-rw-r--r-- | dev-libs/wiringPi/files/wiringPi_Makefile.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/wiringPi/files/wiringPi_Makefile.patch b/dev-libs/wiringPi/files/wiringPi_Makefile.patch new file mode 100644 index 0000000..38901ab --- /dev/null +++ b/dev-libs/wiringPi/files/wiringPi_Makefile.patch @@ -0,0 +1,20 @@ +--- wiringPi/Makefile 2013-08-04 00:53:35.000000000 +0200 ++++ wiringPi/Makefile 2014-05-13 00:31:35.303253358 +0200 +@@ -121,8 +121,7 @@ + @echo "[Install Dynamic Lib]" + @install -m 0755 -d $(DESTDIR)$(PREFIX)/lib + @install -m 0755 libwiringPi.so.$(VERSION) $(DESTDIR)$(PREFIX)/lib/libwiringPi.so.$(VERSION) +- @ln -sf $(DESTDIR)$(PREFIX)/lib/libwiringPi.so.$(VERSION) $(DESTDIR)/lib/libwiringPi.so +- @ldconfig ++ @ln -sf --relative $(DESTDIR)$(PREFIX)/lib/libwiringPi.so.$(VERSION) $(DESTDIR)/lib/libwiringPi.so + + .PHONEY: install-static + install-static: $(STATIC) install-headers +@@ -157,7 +156,6 @@ + @rm -f $(DESTDIR)$(PREFIX)/include/pcf8591.h + @rm -f $(DESTDIR)$(PREFIX)/include/sn3218.h + @rm -f $(DESTDIR)$(PREFIX)/lib/libwiringPi.* +- @ldconfig + + + .PHONEY: depend |