Browse Source

[make] set PREFIX from DESTDIR if it present

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1852/head
R4SAS 2 years ago
parent
commit
6ca6591c43
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 4
      Makefile

4
Makefile

@ -47,6 +47,10 @@ else
LD_DEBUG = -s LD_DEBUG = -s
endif endif
ifneq (, $(DESTDIR))
PREFIX = $(DESTDIR)
endif
ifneq (, $(findstring darwin, $(SYS))) ifneq (, $(findstring darwin, $(SYS)))
DAEMON_SRC += $(DAEMON_SRC_DIR)/UnixDaemon.cpp DAEMON_SRC += $(DAEMON_SRC_DIR)/UnixDaemon.cpp
ifeq ($(HOMEBREW),1) ifeq ($(HOMEBREW),1)

Loading…
Cancel
Save