mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
link the handlerton to a version controlled libtokudb. merge -c 13578 from 2.1.0 to main. [t:1887]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13590 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
6d927e7aa0
commit
4107b184b1
1 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@ DEBUG = 1
|
|||
GCOV = 0
|
||||
SINGLESO = 1
|
||||
SYSTEM = $(shell uname -s | tr [A-Z] [a-z])
|
||||
LIBTOKUDB=tokudb
|
||||
|
||||
# sources to target
|
||||
SRCS = $(wildcard *.cc)
|
||||
|
@ -39,9 +40,9 @@ CXXFLAGS += -g $(OPTFLAGS) $(GCOV_FLAGS) $(MYSQL_CXXFLAGS)
|
|||
CXXFLAGS += -fPIC
|
||||
LDFLAGS = -fPIC -shared -Wl,-soname -Wl,libtokudb_engine.so
|
||||
ifeq ($(SINGLESO),1)
|
||||
LIBS = $(TOKUDB)/src/ydb_lib.o $(TOKUDB)/lib/libtokudb.a $(TOKUDB)/lib/libtokuportability.a
|
||||
LIBS = $(TOKUDB)/src/ydb_lib.o $(TOKUDB)/lib/lib$(LIBTOKUDB).a $(TOKUDB)/lib/libtokuportability.a
|
||||
else
|
||||
LIBS = -L$(TOKUDB)/lib -ltokudb -ltokuportability
|
||||
LIBS = -L$(TOKUDB)/lib -l$(LIBTOKUDB) -ltokuportability
|
||||
endif
|
||||
LIBS += -lpthread -lz -lm -lc
|
||||
|
||||
|
|
Loading…
Reference in a new issue