Warpme <[email protected]> writes: > Hi, > I want to build sytemd in cross-build environment. One from many > needed dependencies is libcap which is really old and isn't > cross-build friendly. It looks like libcap-ng is kind of successor > and I can build this lib in my cross-build environment. Is there > any way to build systemd with libcap-ng ? Or maybe there is > possibility to build systemd without libcap? Thx in advance!
We cross-compile libcap and systemd, and it works fine. My rules for building libcap are: make CC=<cross-cc> BUILD_CC=gcc LIBATTR=no PAM_CAP=no make CC=<cross-cc> BUILD_CC=gcc LIBATTR=no PAM_CAP=no DESTDIR=<somewhere> prefix= install We also set quite a few variables (CROSS_COMPILE, LD, AR, CFLAGS, whatever) in our build system, so you might need some of those. They are all set in a pretty standard way. We build libcap from the latest in git (056ffb0bd2). -- Henrik Grindal Bakken <[email protected]> PGP ID: 8D436E52 Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52 _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
