build: link "nm-enum-types.c" with the base "liblibnm" instead of "libnm"

This way the symbols are also available to the unit tests.
This commit is contained in:
Thomas Haller 2019-10-17 08:41:01 +02:00
parent 69de5ee4e9
commit 8f37a0ae0a

View File

@ -748,6 +748,7 @@ CLEANFILES += $(DBUS_INTERFACE_DOCS)
$(dispatcher_libnm_dispatcher_core_la_OBJECTS): $(introspection_sources)
$(dispatcher_nm_dispatcher_OBJECTS): $(introspection_sources)
$(libnm_liblibnm_la_OBJECTS): $(introspection_sources)
$(libnm_libnm_la_OBJECTS): $(introspection_sources)
EXTRA_DIST += \
@ -1327,6 +1328,11 @@ libnm_liblibnm_la_SOURCES = \
$(libnm_lib_c_real) \
$(NULL)
nodist_libnm_liblibnm_la_SOURCES = \
$(libnm_lib_h_pub_mkenums) \
$(libnm_lib_c_mkenums) \
$(NULL)
libnm_liblibnm_la_LIBADD = \
shared/nm-libnm-core-aux/libnm-libnm-core-aux.la \
libnm-core/libnm-core.la \
@ -1377,11 +1383,6 @@ libnm_libnm_la_SOURCES = \
$(libnm_lib_h_priv) \
$(NULL)
nodist_libnm_libnm_la_SOURCES = \
$(libnm_lib_h_pub_mkenums) \
$(libnm_lib_c_mkenums) \
$(NULL)
EXTRA_libnm_libnm_la_DEPENDENCIES = \
libnm/libnm.ver