Hi I have been trying to make langdrill cross-build. I did make some changes in makefile to pass in right (cross-)compiler, pkg-config et. al. But in the makefile, there are some flags that are needed by passing a `vdk-config-2 --libs` and `vdk-config-2 --cflags`. On looking at the code in vdk-config-2, it has a few pkg-config calls which is making the cross-build choke (because of native pkg-config being called). Since I wasn't sure if there is a proper way to handle this in the config file, I copied the file to the debian package, modified it a little and hacked around to get proper values during cross (and native) builds which is admittedly a bit ugly. It cross-builds fine now but I'm not sure if there's a better way, or if my changes can be applied to vdk-config (libvdk-dev) or not. Could someone please comment on what might be the best thing to do? My changes are available in salsa here[1] [1] https://salsa.debian.org/games-team/langdrill/-/tree/cross?ref_type=heads -- Best, Nilesh
Attachment:
signature.asc
Description: PGP signature