Commit 24d96e6f authored by Thomas Haller's avatar Thomas Haller

build: hide internal symbols in NetworkManager binary

We must export some symbols from NetworkManager binary so that
the device plugins can function. However, many symbols are truly
private and must not be exposed.

Especially, our internal clone of the systemd ABI must be hidden
to avoid resolution conflicts when loading any external systemd
libraries.
parent d5cc42ff
......@@ -524,7 +524,9 @@ if WITH_LIBSOUP
libNetworkManager_la_LIBADD += $(LIBSOUP_LIBS)
endif
NetworkManager_LDFLAGS = -rdynamic
NetworkManager_LDFLAGS = \
-rdynamic \
-Wl,--version-script="$(srcdir)/NetworkManager.ver"
######################
......
{
global:
nm*;
_nm*;
NM*;
_NM*;
local:
*;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment