diff options
author | Patrick Venture <venture@google.com> | 2018-11-13 16:11:17 -0800 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-11-14 15:45:50 +0000 |
commit | df209fa4ebac387417fc617511a199f7484bd103 (patch) | |
tree | bd0e698ae6a36d1288b417f1a9e94b9218e76e34 /Makefile.am | |
parent | 1d5cccb5837f210d8156811e87cdb111c2037d80 (diff) | |
download | phosphor-ipmi-blobs-df209fa4ebac387417fc617511a199f7484bd103.tar.gz phosphor-ipmi-blobs-df209fa4ebac387417fc617511a199f7484bd103.zip |
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 <venture@google.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
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 = \ |