Hi Helmut, thanks a lot for this patch! I have added it to the development version of the package, which you can find at <https://git.ralfj.de/osspd.git>. I plan to do a new upload soon. Upstream is pretty dead, so there is little point in forwarding the patch there.
Your patch is at <https://git.ralfj.de/osspd.git/commitdiff/1391bb23599f1be06ee33561459ac766bb2f2381>. I build-tested this locally, but of course that's not a cross-build -- I don't have the environment to test those. Please let me know if this looks like it should be working. Kind regards, Ralf On 21.11.2017 21:20, Helmut Grohne wrote: > Source: osspd > Version: 1.3.2-8 > Tags: patch upstream > User: helm...@debian.org > Usertags: rebootstrap > > osspd fails to cross build from source, because it uses the build > architecture pkg-config (hard coded in Makefile) and thus fails finding > required libraries, which are only requested for the host architecture > by its Build-Depends. The correct solution is to use the host > architecture pkg-config, which is correctly passed by dh_auto_build, but > ignored by the Makefile. After making pkg-config substitutable, osspd > cross builds successfully. Please consider applying the attached patch. > > Helmut >