Open lukateras opened 6 years ago
If it proves useful, I've wrote a shell function that can transform pkg-config
output to XML compatible with src/native/build.xml
:
pkgconfig2Ant() {
for lib in $@; do
for cflag in $(pkg-config --cflags $lib); do
echo "<compilerarg value=\"$cflag\" />"
done
for ldflag in $(pkg-config --libs $lib); do
echo "<linkerarg value=\"$ldflag\" location=\"end\" />"
done
done
}
ibauersachs added platform:Linux label
This also should apply to macOS build, if possible.
Currently ldflags are hardcoded in
src/native/build.xml
. It'd be great if Jitsi could usepkg-config
instead.