Skip to content

Commit fcc53fa

Browse files
committed
mysql_client_test did not build within limbysqld/examples
1 parent db33b49 commit fcc53fa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

libmysqld/examples/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
1818
${CMAKE_SOURCE_DIR}/libmysqld/include
1919
${CMAKE_SOURCE_DIR}/regex
20-
${CMAKE_SOURCE_DIR}/zlib
20+
${CMAKE_SOURCE_DIR}/zlib
21+
${CMAKE_SOURCE_DIR}/tests
2122
${CMAKE_SOURCE_DIR}/extra/yassl/include)
2223

2324
# Currently does not work with DBUG, there are missing symbols reported.

libmysqld/examples/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ link_sources:
3535
DEFS = -DEMBEDDED_LIBRARY
3636
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir) \
3737
-I$(top_srcdir) -I$(top_srcdir)/client -I$(top_srcdir)/regex \
38-
$(openssl_includes)
38+
-I$(top_srcdir)/tests $(openssl_includes)
3939
LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@ $(yassl_libs)
4040
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @LIBDL@ $(CXXLDFLAGS) \
4141
@NDB_SCI_LIBS@
@@ -51,6 +51,7 @@ mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD)
5151

5252
mysql_client_test_embedded_LINK = $(CXXLINK)
5353
nodist_mysql_client_test_embedded_SOURCES = mysql_client_test.c
54+
mysql_client_test.o: $(top_srcdir)/tests/mysql_client_fw.c
5455

5556
# Don't update the files from bitkeeper
5657
%::SCCS/s.%

0 commit comments

Comments
 (0)