From df209fa4ebac387417fc617511a199f7484bd103 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Tue, 13 Nov 2018 16:11:17 -0800 Subject: bugfix: add -export-dynamic to Makefile linker flags Add -export-dynamic to Makefile linker flags so that blob handlers can access getBlobManager() when they're loaded. Tested: The symbols are now exported, however, blob handlers still cannot resolve blobs::getBlobManager(). Change-Id: I025fdbd701133fc59356e3a0ed8881b2cdd0f2a0 Signed-off-by: Patrick Venture --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 3564cf5..c0cbffb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,6 +15,7 @@ libblobcmds_la_LDFLAGS = \ $(LIBADD_DLOPEN) \ $(PHOSPHOR_LOGGING_LIBS) \ -lstdc++fs \ + -export-dynamic \ -version-info 0:0:0 -shared libblobcmds_la_CXXFLAGS = \ -- cgit v1.2.3