mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
Fix for Bugzilla Bug 6
'rpath' simulated in OSX 10.4 git-svn-id: file:///svn/tokudb@639 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
f0e169ab6e
commit
8bd397bc80
1 changed files with 4 additions and 2 deletions
|
@ -1,12 +1,14 @@
|
|||
# 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 = \
|
||||
|
|
Loading…
Add table
Reference in a new issue