blob: 3423b56f33645744d63ce9e5137a9cdd9410cbfe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- a/makefile
+++ b/makefile
@@ -2,12 +2,12 @@
# Makefile for UNIX - unrar
# Linux using GCC
-CXX=g++
-CXXFLAGS=-O2
+#CXX=g++
+#CXXFLAGS=-O2
LIBFLAGS=-fPIC
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
STRIP=strip
-LDFLAGS=-pthread
+LDFLAGS=-lpthread
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
|