diff --git a/src/Makefile.am b/src/Makefile.am index d6eb302f0e8..6dc977d48fc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1038,7 +1038,7 @@ libmesos_la_SOURCES = \ $(V1_MESOS_PROTO) \ $(V1_SCHEDULER_PROTO) -libmesos_la_LDFLAGS = -release $(PACKAGE_VERSION) +libmesos_la_LDFLAGS = -release $(PACKAGE_VERSION) -Wl,--version-script=$(top_srcdir)/version.map # Since we just include the convenience library (and no sources), we # need to tell libtool to build this as a C++ library. diff --git a/version.map b/version.map new file mode 100644 index 00000000000..7a91f2cc9c0 --- /dev/null +++ b/version.map @@ -0,0 +1,7 @@ +mesos { + local: + http_method_str; + http_should_keep_alive; + http_parser_execute; + http_parser_init; +};