--- a/makefile
|
|
+++ b/makefile
|
|
@@ -2,13 +2,13 @@
|
|
# Makefile for UNIX - unrar
|
|
|
|
# Linux using GCC
|
|
-CXX=c++
|
|
-CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
|
|
+#CXX=c++
|
|
+#CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
|
|
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
|
|
@@ -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:
|