summaryrefslogtreecommitdiff
path: root/libmysql_r
diff options
context:
space:
mode:
authorkent@mysql.com/kent-amd64.(none) <>2006-11-27 18:47:07 +0100
committerkent@mysql.com/kent-amd64.(none) <>2006-11-27 18:47:07 +0100
commitcbe9d229278135428529cfe4640944a7c5818be1 (patch)
treeba91e19692394bc120e136e14093142cfc58bac9 /libmysql_r
parent9d328d7d62774ba02dbe9e8b40ca023da9d5e0e7 (diff)
parent6c85ba399d205ecbd87b7b512f9892bae28c4275 (diff)
downloadmariadb-git-cbe9d229278135428529cfe4640944a7c5818be1.tar.gz
Merge mysql.com:/home/kent/bk/mysql-4.1
into mysql.com:/home/kent/bk/mysql-5.0
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