summaryrefslogtreecommitdiff
path: root/scripts/mysql_config.pl.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mysql_config.pl.in')
-rw-r--r--scripts/mysql_config.pl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mysql_config.pl.in b/scripts/mysql_config.pl.in
index b39bf146f58..d7b36ec9b09 100644
--- a/scripts/mysql_config.pl.in
+++ b/scripts/mysql_config.pl.in
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# -*- cperl -*-
#
-# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
#
# 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
@@ -189,7 +189,7 @@ if ( $^O eq "MSWin32" )
}
else
{
- my $linkpath = "-L$pkglibdir";
+ my $linkpath = "-L$pkglibdir @RPATH_OPTION@";
@lib_opts = ($linkpath,"-lmysqlclient");
@lib_r_opts = ($linkpath,"-lmysqlclient_r");
@lib_e_opts = ($linkpath,"-lmysqld");