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
664 B

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