On Fri, Dec 13, 2019 at 05:46:42PM +0500, Andrey Rahmatullin wrote: > > > > Thanks for that additional hint. I can confirm that I checked whether > > pkgconfig can be used before I was asking here. But we seem to agree > > that this is not the case. I admit I have no real clue how to convince > > scons to link to the correct library name. :-( > I have no idea either. It seems that it just uses the scons compilation > code by creating an env.LoadableModule.
I tried a patch to use pkg-config which **partly** works: ... g++ -o pdb2pka/substruct/Algorithms.cpython-37m-x86_64-linux-gnu.so -Wl,-z,relro -Wl,-z,now -shared pdb2pka/substruct/Algorithms.os -L/usr/lib -lpython3.7m -lpython3.7 /usr/bin/ld: cannot find -lpython3.7 collect2: error: ld returned 1 exit status ... AAArgh, now we just need to get rid of the unwanted stuff. Any scons expert around? Kind regards, Andreas. [1] https://salsa.debian.org/med-team/pdb2pqr/commit/dbee7b96cdb8cad7b60e8c6acffea068664ebe7c -- http://fam-tille.de