Commit 4add3f9a authored by Yoni Fogel's avatar Yoni Fogel

Fix for Bugzilla Bug 6

'rpath' simulated in OSX 10.4

git-svn-id: file:///svn/tokudb@639 c7de825b-a66e-492c-adef-691d508d4ae1
parent b6b4e493
# On OSX do:
# make OSX=OSX
#Note: On OSX, ld does not support -rpath, so /usr/lib/libdb.dylib must be the tokudb library.
ifeq ($(OSX),OSX)
#Note: OSX 10.4 needs DYLD_LIBRARY_PATH. OSX 10.5 claims to support -rpath.
LIBEXT=dylib
VGRIND=
TDB_LOADLIBES = -L../ -ldb
SETTOKUENV=export DYLD_LIBRARY_PATH=..
else
SETTOKUENV=
LIBEXT=so
TDB_LOADLIBES = -L../ -ldb -Wl,-rpath,..
VGRIND=valgrind --quiet --error-exitcode=1 --leak-check=yes
......@@ -50,7 +52,7 @@ $(ALL_TESTS):
%.bdbrun: %.bdb
$(VGRIND) ./$<
%.tdbrun: %.tdb
$(VGRIND) ./$<
$(SETTOKUENV); $(VGRIND) ./$<
# For a few of the tests bdb is making valgrind unhappy.
NO_VGRIND = \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment