[openrtm-commit:00624] r2278 - trunk/OpenRTM-aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2012年 1月 31日 (火) 11:24:20 JST
Author: n-ando
Date: 2012-01-31 11:24:20 +0900 (Tue, 31 Jan 2012)
New Revision: 2278
Modified:
trunk/OpenRTM-aist/configure.ac
Log:
-export-dynamic option for Mac OS X has been modified.
Modified: trunk/OpenRTM-aist/configure.ac
===================================================================
--- trunk/OpenRTM-aist/configure.ac 2012-01-30 15:24:49 UTC (rev 2277)
+++ trunk/OpenRTM-aist/configure.ac 2012-01-31 02:24:20 UTC (rev 2278)
@@ -81,7 +81,6 @@
AC_SEARCH_LIBS(pthread_create, pthread c_r, ,
AC_MSG_ERROR([** thread library is needed **]))
-LDFLAGS="-export-dynamic $LDFLAGS"
SHLIB_SUFFIX=".so"
dnl ------------------------------------------------------------
@@ -148,12 +147,13 @@
case $system in
[FreeBSD*)]
AC_DEFINE([RTM_OS_FREEBSD], [TRUE], [OS is FreeBSD])
+ LDFLAGS="-export-dynamic $LDFLAGS"
os="freebsd"
;;
[Linux*)]
AC_DEFINE([RTM_OS_LINUX], [TRUE], [OS is Linux])
AC_DEFINE([_REENTRANT], [TRUE], [Multi Thread Support])
- LDFLAGS="$LDFLAGS -luuid -ldl"
+ LDFLAGS="-luuid -ldl -export-dynamic $LDFLAGS"
os="linux"
;;
[HP-UX*)]
@@ -175,6 +175,7 @@
[Darwin*)]
AC_DEFINE([RTM_OS_DARWIN], [TRUE], [OS is Max OS X])
SHLIB_SUFFIX=".dylib"
+ LDFLAGS="--export-dynamic $LDFLAGS"
os="darwin"
;;
[QNX*)]
@@ -186,7 +187,7 @@
os="cygwin"
CPPFLAGS="-DCygwin $CPPFLAGS"
CXXFLAGS="-DCygwin $CXXFLAGS"
- LDFLAGS="-no-undefined $LDFLAGS -luuid -ldl"
+ LDFLAGS="-no-undefined -luuid -ldl -export-dynamic $LDFLAGS"
;;
*)
echo "Unkonown system"
openrtm-commit メーリングリストの案内