diff options
author | Tatiana A. Nurnberg <azundris@mysql.com> | 2008-11-10 22:12:15 +0100 |
---|---|---|
committer | Tatiana A. Nurnberg <azundris@mysql.com> | 2008-11-10 22:12:15 +0100 |
commit | 8a774dcc68cc3db9f651a21e75ac87732aafc23b (patch) | |
tree | a0e997f6f5a80bb2cf7908ccd736574929c3c289 /scripts/mysql_config.pl.in | |
parent | 0d2cbe95f64df353c065774f51cafc87c5e272c7 (diff) | |
download | mariadb-git-8a774dcc68cc3db9f651a21e75ac87732aafc23b.tar.gz |
Bug#34025: mysql_config is not returning -ldl lib flag needed when using embedded server
mysql_config did not output -ldl (or equivalent) when needed for --libmysqld-libs,
so its output could be insufficient to build an application using the embedded
server.
LIBDL was already set in configure; it's now propagated all the way into the
relevant mysql_config scripts.
Diffstat (limited to 'scripts/mysql_config.pl.in')
-rw-r--r-- | scripts/mysql_config.pl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_config.pl.in b/scripts/mysql_config.pl.in index 3ae8baf7db0..21896711fa8 100644 --- a/scripts/mysql_config.pl.in +++ b/scripts/mysql_config.pl.in @@ -202,7 +202,7 @@ $flags->{libs} = $flags->{libs_r} = [@ldflags,@lib_r_opts,'@ZLIB_DEPS@','@LIBS@','@openssl_libs@']; $flags->{embedded_libs} = - [@ldflags,@lib_e_opts,'@ZLIB_DEPS@','@LIBS@','@WRAPLIBS@','@innodb_system_libs@','@openssl_libs@']; + [@ldflags,@lib_e_opts,'@LIBDL@','@ZLIB_DEPS@','@LIBS@','@WRAPLIBS@','@innodb_system_libs@','@openssl_libs@']; $flags->{include} = ["-I$pkgincludedir"]; $flags->{cflags} = [@{$flags->{include}},split(" ",'@CFLAGS@')]; |