diff options
author | kent@mysql.com/kent-amd64.(none) <> | 2006-11-27 18:29:50 +0100 |
---|---|---|
committer | kent@mysql.com/kent-amd64.(none) <> | 2006-11-27 18:29:50 +0100 |
commit | 6c85ba399d205ecbd87b7b512f9892bae28c4275 (patch) | |
tree | 6e69443c2ba64be6a55243ae050033ea5a4669c1 /libmysql_r | |
parent | 34cedd8d77da1b61a69528a3cece8cf9a19f1955 (diff) | |
download | mariadb-git-6c85ba399d205ecbd87b7b512f9892bae28c4275.tar.gz |
gen_rec.awk:
Fix undefined behaviour.
Many files:
Reenabled build outside ource tree
Diffstat (limited to 'libmysql_r')
-rw-r--r-- | libmysql_r/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmysql_r/Makefile.am b/libmysql_r/Makefile.am index f7cf00321cb..31f6fdffd53 100644 --- a/libmysql_r/Makefile.am +++ b/libmysql_r/Makefile.am @@ -31,8 +31,6 @@ INCLUDES = @MT_INCLUDES@ \ ## 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) libmysqlclient_r_la_LDFLAGS = $(target_ldflags) @@ -40,7 +38,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 |