summaryrefslogtreecommitdiff
path: root/libmysql_r
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2006-11-27 18:47:07 +0100
committerunknown <kent@mysql.com/kent-amd64.(none)>2006-11-27 18:47:07 +0100
commit14ba2178eda2061b033786372a29cb944019c9af (patch)
treeba91e19692394bc120e136e14093142cfc58bac9 /libmysql_r
parentf47d5500c3e2b30d1b9c909bb735054ab488c3d6 (diff)
parent8d6f67f3269917f0353c94e387a04e629445f0ce (diff)
downloadmariadb-git-14ba2178eda2061b033786372a29cb944019c9af.tar.gz
Merge mysql.com:/home/kent/bk/mysql-4.1
into mysql.com:/home/kent/bk/mysql-5.0 BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003: Auto merged bdb/dist/gen_rec.awk: Auto merged libmysql_r/Makefile.am: Auto merged ndb/config/type_ndbapitools.mk.am: Auto merged ndb/src/kernel/Makefile.am: Auto merged
Diffstat (limited to 'libmysql_r')
-rw-r--r--libmysql_r/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/libmysql_r/Makefile.am b/libmysql_r/Makefile.am
index aaf81add00b..062acccda07 100644
--- a/libmysql_r/Makefile.am
+++ b/libmysql_r/Makefile.am
@@ -29,8 +29,6 @@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
## automake barfs if you don't use $(srcdir) or $(top_srcdir) in include
include $(top_srcdir)/libmysql/Makefile.shared
-libmysql_dir = $(top_srcdir)/libmysql
-
libmysqlclient_r_la_SOURCES = $(target_sources)
libmysqlclient_r_la_LIBADD = $(target_libadd) $(yassl_las)
libmysqlclient_r_la_LDFLAGS = $(target_ldflags)
@@ -38,7 +36,9 @@ libmysqlclient_r_la_LDFLAGS = $(target_ldflags)
# This is called from the toplevel makefile
link_sources:
set -x; \
- for f in `cd $(libmysql_dir) && echo *.[ch]`; do \
- rm -f $$f; \
- @LN_CP_F@ $(libmysql_dir)/$$f $$f; \
+ for d in $(top_srcdir)/libmysql $(top_builddir)/libmysql; do \
+ for f in `cd $$d && echo *.[ch]`; do \
+ rm -f $$f; \
+ @LN_CP_F@ $$d/$$f $$f; \
+ done; \
done