[ofa-general] [PATCH] opensm/event_plugin: link opensm with -rdynamic flag
Sasha Khapyorsky
sashak at voltaire.com
Wed Dec 17 00:12:24 PST 2008
Link OpenSM executable with -rdynamic flag so all global symbols
(actually functions) will be available for using in plugins.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
opensm/opensm/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/opensm/opensm/Makefile.am b/opensm/opensm/Makefile.am
index 66fbccc..9fd9123 100644
--- a/opensm/opensm/Makefile.am
+++ b/opensm/opensm/Makefile.am
@@ -25,6 +25,7 @@ libopensm_la_LDFLAGS = -version-info $(opensm_api_version) \
libopensm_la_DEPENDENCIES = $(srcdir)/libopensm.map
sbin_PROGRAMS = opensm
+opensm_LDFLAGS = -rdynamic
opensm_DEPENDENCIES = libopensm.la
opensm_SOURCES = main.c osm_console_io.c osm_console.c osm_db_files.c \
osm_db_pack.c osm_drop_mgr.c \
--
1.6.0.4.766.g6fc4a
More information about the general
mailing list