Re: NM-0.7.1rc1 fails to build with --as-needed



Hi Dan,

> Odd; what gcc version?

That's the same error I've reported a week ago on irc.

>
> Does the following patch work better?  Perhaps I missed something when
> splitting out the reader/writer.
>
> Dan
>
> diff --git a/system-settings/plugins/keyfile/io/Makefile.am
> b/system-settings/plugins/keyfile/io/Makefile.am index 9333c50..4f6e3d6
> 100644
> --- a/system-settings/plugins/keyfile/io/Makefile.am
> +++ b/system-settings/plugins/keyfile/io/Makefile.am
> @@ -16,5 +16,9 @@ libkeyfile_io_la_CPPFLAGS = \
>  	$(GLIB_CFLAGS) \
>  	$(DBUS_CFLAGS)
>
> -libkeyfile_io_la_LIBADD = $(GLIB_LIBS)
> +libkeyfile_io_la_LDFLAGS = -module -avoid-version
> +libkeyfile_io_la_LIBADD = \
> +	$(GLIB_LIBS) \
> +	$(top_builddir)/libnm-util/libnm-util.la \
> +	$(top_builddir)/libnm-glib/libnm_glib.la
>

Following patch doesn't solve it for me.

Thanks,
Rob

Attachment: signature.asc
Description: This is a digitally signed message part.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]