Kay Sievers wrote: > On Fri, Nov 26, 2010 at 18:56, Gustavo Sverzut Barbieri > <[email protected]> wrote: > > On Fri, Nov 26, 2010 at 2:17 PM, Dr. Werner Fink <[email protected]> wrote: > >> just what the subject says, I'm missing a shared library which > >> shares the functions of sd-daemon.c. Then the developers here > >> around could remove the several copies of sd-daemon.c and > >> sd-daemon.h. > >> > >> Is there a plan to create such a library and install the header > >> sd-daemon.h to ${prefix}/include? Also I've not found the > >> manual page(s) mentioned in sd-daemon.h. Only the main page > >> sd-daemon(7) is found. > > > > having a shared library for such simple and few functions would be > > worse than copying them to users. > > The main issue is build dependencies, systemd links against udev, > D-Bus, ... and udev, D-Bus, ... would link against systemd. That would > need to be sorted out.
Should be no problem in OBS. Just use a source link and a second spec file that only compiles the shared lib (manually if needed). That way systemd and the lib are compiled independent of each other but you only need to take care of one source submission. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
