From: Date: August 5 2008 10:04am Subject: bzr commit into mysql-6.0-falcon branch (olav:2767) Bug#38556 List-Archive: http://lists.mysql.com/commits/50908 X-Bug: 38556 Message-Id: <20080805080432.1283.qmail@khepri11> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///home/os136802/mysql/develop/repo/falcon-make/ 2767 Olav Sandstaa 2008-08-05 Fix for Bug#38556 Linking error when building Falcon as a shared library using Sun Studio compiler Remove the use of the Gnu C++ standard library (stdc++) from the linking command when linking Falcon as a dynamic loadable library. modified: storage/falcon/Makefile.am per-file messages: storage/falcon/Makefile.am Remove includsion of -lstdc++ from the linking command when building Falcon as a dynamically loadable libraray. This caused problems when linkin with Sun Studio compiler and was unnecessary when linking with GCC. === modified file 'storage/falcon/Makefile.am' === modified file 'storage/falcon/Makefile.am' --- a/storage/falcon/Makefile.am 2008-07-23 12:19:47 +0000 +++ b/storage/falcon/Makefile.am 2008-08-05 08:04:25 +0000 @@ -380,7 +380,7 @@ EXTRA_LTLIBRARIES= ha_falcon.la pkglib_LTLIBRARIES= @plugin_falcon_shared_target@ -ha_falcon_la_LDFLAGS= -module -rpath $(pkglibdir) -lstdc++ +ha_falcon_la_LDFLAGS= -module -rpath $(pkglibdir) ha_falcon_la_CXXFLAGS= $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN ha_falcon_la_CFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN ha_falcon_la_LIBADD= TransformLib/libtransform.la