tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: U-boot and swig



Can you symlink swig3.0 to $TOOLDIR/swig?

Jason Thorpe <thorpej%me.com@localhost> schrieb am Sa. 20. Juni 2020 um 22:33:
Forgive me, I'm not well-versed in swig (or python, really, because I'm a luddite, heh.)

I'm working on a u-boot package that requires a newer swig than swig1.  Swig3 installs the binary as "swig3.0".  The problem is, I can't seem to be able to get the u-boot build to invoke it... it seems like "swig" is being invoked by some python code itself, perhaps deep in the bowels of some library that's installed with python37.

I've confirmed the right thing happens if I symlink "swig3.0" to "swig".  I've made the pkgsrc .mk file changes needed to select python3 vs python2 and swig1 vs swig3, and am just stuck on this swig invocation issue.

Guidance would be appreciated!

-- thorpej

--
Benny


Home | Main Index | Thread Index | Old Index