if you need a receipt to crosscompile libcap see:

https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/devel/libcap/build

basically you must compile _makenames first with the hosttools:

  make CC=$HOST_CC -C libcap _makenames

as a second step you crosscompile libcap like:

  make CC=$TARGET_CC CFLAGS="$TARGET_CFLAGS" lib=/lib -C libcap libcap.a

greetings

Stephan

Am 04.10.2013 17:12, schrieb Warpme:
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!

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to