summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@sol>2009-12-04 20:05:04 +0000
committerVladislav Vaintroub <wlad@sol>2009-12-04 20:05:04 +0000
commita426f50f5c77086f50d1853f48159c391bcd633f (patch)
tree88f8eb36158b237cddb8fd5b1c7ee5283f8124f6 /strings
parent131d1e6fdd88090dde6144be3c3d5150449efb95 (diff)
parent560e76c567c3551f5a4320acfc954200e8330ad8 (diff)
downloadmariadb-git-a426f50f5c77086f50d1853f48159c391bcd633f.tar.gz
merge
Diffstat (limited to 'strings')
-rw-r--r--strings/Makefile.am13
1 files changed, 11 insertions, 2 deletions
diff --git a/strings/Makefile.am b/strings/Makefile.am
index ddd41e627dc..4c34a923d81 100644
--- a/strings/Makefile.am
+++ b/strings/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2000-2006 MySQL AB
+# Copyright (C) 2000-2006 MySQL AB, 2009 Sun Microsystems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -15,7 +15,16 @@
# This file is public domain and comes with NO WARRANTY of any kind
-INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
+#
+# Note that the string library is built with #define THREAD,
+# which by default cause all the thread related code (my_pthread.h)
+# and therefore the associated instrumentation (mysql/psi/mysql_thread.h)
+# to be used.
+# Since the string code itself is not instrumented, we use
+# #define DISABLE_MYSQL_THREAD_H here to avoid unneeded dependencies.
+#
+
+INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -DDISABLE_MYSQL_THREAD_H
pkglib_LIBRARIES = libmystrings.a
# Exact one of ASSEMBLER_X