| 1 | diff -u -r ../unrar/makefile ./makefile |
| 2 | --- ../unrar/makefile 2013-04-29 16:27:05.000000000 +0200 |
| 3 | +++ ./makefile 2014-02-13 00:29:04.000000000 +0100 |
| 4 | @@ -2,13 +2,9 @@ |
| 5 | # Makefile for UNIX - unrar |
| 6 | |
| 7 | # Linux using GCC |
| 8 | -CXX=g++ |
| 9 | -CXXFLAGS=-O2 |
| 10 | -LIBFLAGS=-fPIC |
| 11 | +LIBFLAGS=$(LDFLAGS) |
| 12 | DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP |
| 13 | -STRIP=strip |
| 14 | -LDFLAGS=-pthread |
| 15 | -DESTDIR=/usr |
| 16 | +DESTDIR=@TERMUX_PREFIX@ |
| 17 | |
| 18 | # Linux using LCC |
| 19 | #CXX=lcc |
| 20 | @@ -136,7 +132,7 @@ |
| 21 | $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ) |
| 22 | |
| 23 | install-unrar: |
| 24 | - install -D unrar $(DESTDIR)/bin/unrar |
| 25 | + install unrar $(DESTDIR)/bin/unrar |
| 26 | |
| 27 | uninstall-unrar: |
| 28 | rm -f $(DESTDIR)/bin/unrar |