Linking libnih dynamically
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Fri Nov 7 11:22:22 GMT 2008
Hi,
is there a way to link libnih dynamically to upstart and its
tools? Currently, the compiled upstart suite is very huge
(nearly 1 MiB).
I tried
| export nih_install=yes
before calling ./configure and got the expected smaller binaries.
Unfortunately, 'upstart' dies then with
| initctl:list.c:141: Assertion failed in nih_list_add: list != NULL
| Aborted
Is there a better way to link libnih?
Btw, nih/Makefile.am contains
| libnih_dbus_la_LIBS = $(DBUS_LIBS)
which should be
| libnih_dbus_la_LIBADD = $(DBUS_LIBS) libnih.la
(no; I won't submit a patch as I do not want to go through all
the required legal stuff ;) )
Enrico
More information about the upstart-devel
mailing list