aboutsummaryrefslogtreecommitdiff
path: root/utils/unrar/patches
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2015-12-07 17:27:15 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2015-12-07 17:27:15 +0100
commit082314c49de900bf685b0016f353aa2594bab554 (patch)
tree0785e80eed9664b9f84961382ff26f318d93a9f7 /utils/unrar/patches
parent1f18c200a2fdefc2290e7b84c55b45f40c3bf003 (diff)
unrar: split unrar and libunrar into build variants, add missing InstallDev
Building unrar together with libunrar creates conflicts that can be fixed by doing separate builds. Closes https://github.com/openwrt/packages/pull/2060. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'utils/unrar/patches')
-rw-r--r--utils/unrar/patches/100-makefile_fixes.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/unrar/patches/100-makefile_fixes.patch b/utils/unrar/patches/100-makefile_fixes.patch
index ca82e1353..3423b56f3 100644
--- a/utils/unrar/patches/100-makefile_fixes.patch
+++ b/utils/unrar/patches/100-makefile_fixes.patch
@@ -16,3 +16,12 @@
DESTDIR=/usr
# Linux using LCC
+@@ -142,7 +142,7 @@ uninstall-unrar:
+ rm -f $(DESTDIR)/bin/unrar
+
+ install-lib:
+- install libunrar.so $(DESTDIR)/lib
++ install -D libunrar.so $(DESTDIR)/lib/libunrar.so
+
+ uninstall-lib:
+ rm -f $(DESTDIR)/lib/libunrar.so