build: added PREFIX to samples/Makefile (don't know how the linux build worked without this!)
This commit is contained in:
parent
4e530fbce0
commit
1bcce080c2
@ -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; \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user