You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
546 B

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