From 1bcce080c25a869771c761fca9ac14b5bf4b7702 Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Wed, 24 Jul 2013 19:38:05 +0000 Subject: [PATCH] build: added PREFIX to samples/Makefile (don't know how the linux build worked without this!) --- samples/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/samples/Makefile b/samples/Makefile index 3b07e330..74cd2312 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -103,6 +103,8 @@ ifdef DEP_TRACKING DEP = $(BINSRC:%.cpp=$(DEPDIR)/%.d) endif +PREFIX = /usr/local/lib + # ****************************************************************************** # Rules samples: $(BINARY) $(OTHER) @@ -115,7 +117,7 @@ $(BINOBJ): %.o: %.cpp $(BINARY): %: %.o mkdir -pv ../bin 2>&1 > /dev/null - $(LIBTOOL) --mode=link $(LINK.cc) -o ../bin/$@ $@.o + $(LIBTOOL) --mode=link $(LINK.cc) -rpath $(PREFIX) -L$(PREFIX) -o ../bin/$@ $@.o %.ii: %.cpp set -e; \