summaryrefslogtreecommitdiff
path: root/dev-libs/wiringPi/files/2.44-wiringPi_Makefile.patch
diff options
context:
space:
mode:
authorCtibor Brančík <ctibor@brancik.cz>2018-07-30 20:38:03 +0200
committerCtibor Brančík <ctibor@brancik.cz>2018-07-30 20:38:03 +0200
commit6ee032c972419830c1cfff2369e7661a620971cc (patch)
tree6ac91ffa21e1d5ee02070a9f145f33894a086ad0 /dev-libs/wiringPi/files/2.44-wiringPi_Makefile.patch
parent15a76113ec79f544a88acd5c13e66956027c5476 (diff)
downloadbrancik-overlay-6ee032c972419830c1cfff2369e7661a620971cc.tar.gz
brancik-overlay-6ee032c972419830c1cfff2369e7661a620971cc.tar.bz2
Revert "Remove old version of wiringPi"
This reverts commit 15a76113ec79f544a88acd5c13e66956027c5476.
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)