summaryrefslogtreecommitdiff
path: root/dev-libs/wiringPi/files/2.44-wiringPi_Makefile.patch
diff options
context:
space:
mode:
authorCtibor Brančík <ctibor@brancik.cz>2018-02-03 18:43:21 +0100
committerCtibor Brančík <ctibor@brancik.cz>2018-02-03 18:43:21 +0100
commitcfcfb9e7c17d7f57aa51c1efec9f1333704ee632 (patch)
tree189188509f7b2b2a3f26e44deda0172b073f250d /dev-libs/wiringPi/files/2.44-wiringPi_Makefile.patch
parent6e9c5087e575ad27b825f13ed469a46dc0b26c34 (diff)
parentf6c12f84cb5626c3c332b56ccc288fa388464d45 (diff)
downloadbrancik-overlay-cfcfb9e7c17d7f57aa51c1efec9f1333704ee632.tar.gz
brancik-overlay-cfcfb9e7c17d7f57aa51c1efec9f1333704ee632.tar.bz2
Merge branch 'master' of ssh://git.brancik.cz/gentoo-overlay
Diffstat (limited to 'dev-libs/wiringPi/files/2.44-wiringPi_Makefile.patch')
-rw-r--r--dev-libs/wiringPi/files/2.44-wiringPi_Makefile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/wiringPi/files/2.44-wiringPi_Makefile.patch b/dev-libs/wiringPi/files/2.44-wiringPi_Makefile.patch
new file mode 100644
index 0000000..c41d17e
--- /dev/null
+++ b/dev-libs/wiringPi/files/2.44-wiringPi_Makefile.patch
@@ -0,0 +1,12 @@
+--- wiringPi/Makefile 2017-04-18 22:50:38.951022128 +0100
++++ wiringPi/Makefile 2017-04-18 22:51:19.747265645 +0100
+@@ -104,8 +104,7 @@
+ $Q echo "[Install Dynamic Lib]"
+ $Q install -m 0755 -d $(DESTDIR)$(PREFIX)/lib
+ $Q install -m 0755 libwiringPi.so.$(VERSION) $(DESTDIR)$(PREFIX)/lib/libwiringPi.so.$(VERSION)
+- $Q ln -sf $(DESTDIR)$(PREFIX)/lib/libwiringPi.so.$(VERSION) $(DESTDIR)/lib/libwiringPi.so
+- $Q $(LDCONFIG)
++ $Q ln -sf --relative $(DESTDIR)$(PREFIX)/lib/libwiringPi.so.$(VERSION) $(DESTDIR)/lib/libwiringPi.so
+
+ .PHONY: install-static
+ install-static: $(STATIC)