diff options
Diffstat (limited to 'utils/unrar/patches/100-makefile_fixes.patch')
-rw-r--r-- | utils/unrar/patches/100-makefile_fixes.patch | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/unrar/patches/100-makefile_fixes.patch b/utils/unrar/patches/100-makefile_fixes.patch index ae4c62386..82205ea26 100644 --- a/utils/unrar/patches/100-makefile_fixes.patch +++ b/utils/unrar/patches/100-makefile_fixes.patch @@ -1,6 +1,6 @@ --- a/makefile +++ b/makefile -@@ -2,12 +2,12 @@ +@@ -2,13 +2,13 @@ # Makefile for UNIX - unrar # Linux using GCC @@ -11,17 +11,18 @@ LIBFLAGS=-fPIC DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP STRIP=strip + AR=ar -LDFLAGS=-pthread +LDFLAGS=-lpthread DESTDIR=/usr # Linux using LCC -@@ -142,7 +142,7 @@ uninstall-unrar: +@@ -166,7 +166,7 @@ uninstall-unrar: rm -f $(DESTDIR)/bin/unrar install-lib: - install libunrar.so $(DESTDIR)/lib + install -D libunrar.so $(DESTDIR)/lib/libunrar.so + install libunrar.a $(DESTDIR)/lib uninstall-lib: - rm -f $(DESTDIR)/lib/libunrar.so |