Skip to content

Commit 7f2448e

Browse files
committed
Makefile: respect $(DESTDIR)
1 parent 729bb8c commit 7f2448e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ shmem.o: shmem.c shm.h
1111
$(CC) $(CFLAGS) -c shmem.c -o $@
1212

1313
install: libandroid-shmem.a libandroid-shmem.so shm.h
14-
install -D libandroid-shmem.a $(PREFIX)/lib/libandroid-shmem.a
15-
install -D libandroid-shmem.so $(PREFIX)/lib/libandroid-shmem.so
16-
install -D shm.h $(PREFIX)/include/sys/shm.h
14+
install -D libandroid-shmem.a $(DESTDIR)$(PREFIX)/lib/libandroid-shmem.a
15+
install -D libandroid-shmem.so $(DESTDIR)$(PREFIX)/lib/libandroid-shmem.so
16+
install -D shm.h $(DESTDIR)$(PREFIX)/include/sys/shm.h
1717

1818
clean:
1919
rm -f libandroid-shmem.a libandroid-shmem.so

0 commit comments

Comments
 (0)