tui,cli/build: add linker version script for nmcli and nmtui
This commit is contained in:
@@ -17,6 +17,9 @@ nm_online_CPPFLAGS = \
|
|||||||
-DG_LOG_DOMAIN=\""nm-online"\" \
|
-DG_LOG_DOMAIN=\""nm-online"\" \
|
||||||
$(AM_CPPFLAGS)
|
$(AM_CPPFLAGS)
|
||||||
|
|
||||||
|
nm_online_LDFLAGS = \
|
||||||
|
-Wl,--version-script="$(top_srcdir)/linker-script-binary.ver"
|
||||||
|
|
||||||
nm_online_LDADD = \
|
nm_online_LDADD = \
|
||||||
$(top_builddir)/libnm/libnm.la \
|
$(top_builddir)/libnm/libnm.la \
|
||||||
$(GLIB_LIBS)
|
$(GLIB_LIBS)
|
||||||
|
@@ -54,6 +54,9 @@ nmcli_SOURCES += $(srcdir)/../common/nm-polkit-listener.c $(srcdir)/../common/nm
|
|||||||
nmcli_LDADD += $(POLKIT_LIBS)
|
nmcli_LDADD += $(POLKIT_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
nmcli_LDFLAGS = \
|
||||||
|
-Wl,--version-script="$(top_srcdir)/linker-script-binary.ver"
|
||||||
|
|
||||||
if BUILD_SETTING_DOCS
|
if BUILD_SETTING_DOCS
|
||||||
settings-docs.c: settings-docs.xsl $(top_builddir)/libnm/nm-property-docs.xml
|
settings-docs.c: settings-docs.xsl $(top_builddir)/libnm/nm-property-docs.xml
|
||||||
$(AM_V_GEN) xsltproc --output $@ $^
|
$(AM_V_GEN) xsltproc --output $@ $^
|
||||||
|
@@ -119,6 +119,9 @@ nmtui_SOURCES = \
|
|||||||
$(srcdir)/../common/nm-vpn-helpers.h \
|
$(srcdir)/../common/nm-vpn-helpers.h \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
nmtui_LDFLAGS = \
|
||||||
|
-Wl,--version-script="$(top_srcdir)/linker-script-binary.ver"
|
||||||
|
|
||||||
nmtui_LDADD = \
|
nmtui_LDADD = \
|
||||||
$(top_builddir)/libnm/libnm.la \
|
$(top_builddir)/libnm/libnm.la \
|
||||||
$(builddir)/newt/libnmt-newt.a \
|
$(builddir)/newt/libnmt-newt.a \
|
||||||
|
Reference in New Issue
Block a user