From 87bb27a7a794d413bd75ea17d4e1f83e207c8bdc Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 16 May 2020 14:25:24 +0100 Subject: Implement support for portable installations. --- make/template/main.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'make/template') diff --git a/make/template/main.mk b/make/template/main.mk index a57595c9d..6bd1d390d 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -49,6 +49,7 @@ LDLIBS = -lstdc++ CORELDFLAGS = -rdynamic -L. PICLDFLAGS = -fPIC -shared -rdynamic +DESTDIR := $(if $(DESTDIR),$(DESTDIR),"@DESTDIR|@") BASE = "$(DESTDIR)@BASE_DIR@" BINPATH = "$(DESTDIR)@BINARY_DIR@" CONPATH = "$(DESTDIR)@CONFIG_DIR@" -- cgit v1.2.3