From f66b9f147ecf5db067e36719784a552a5909b3fc Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Sat, 16 Mar 2013 18:09:04 +0100 Subject: build: respect PREFIX_STRING on config file locations When setting a prefix from the build system, also pass this through the hard coded strings for config file locations in the toolkit, so that the installed files (which use PREFIX) can be properly found. Suggested-by: Peter Stuge Signed-off-by: Daniel Borkmann --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 87adcbb..4591806 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,7 @@ ifneq ($(wildcard /usr/include/linux/net_tstamp.h),) CFLAGS += -D__WITH_HARDWARE_TIMESTAMPING endif CFLAGS += -DVERSION_STRING=\"$(VERSION_STRING)\" +CFLAGS += -DPREFIX_STRING=\"$(PREFIX)\" CFLAGS += -std=gnu99 WFLAGS = -Wall -- cgit v1.2.3-54-g00ecf