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.

27 lines
538 B

  1. --- a/makefile
  2. +++ b/makefile
  3. @@ -2,12 +2,12 @@
  4. # Makefile for UNIX - unrar
  5. # Linux using GCC
  6. -CXX=c++
  7. -CXXFLAGS=-O2
  8. +#CXX=c++
  9. +#CXXFLAGS=-O2
  10. LIBFLAGS=-fPIC
  11. DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
  12. STRIP=strip
  13. -LDFLAGS=-pthread
  14. +LDFLAGS=-lpthread
  15. DESTDIR=/usr
  16. # Linux using LCC
  17. @@ -142,7 +142,7 @@ uninstall-unrar:
  18. rm -f $(DESTDIR)/bin/unrar
  19. install-lib:
  20. - install libunrar.so $(DESTDIR)/lib
  21. + install -D libunrar.so $(DESTDIR)/lib/libunrar.so
  22. uninstall-lib:
  23. rm -f $(DESTDIR)/lib/libunrar.so