mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Locate interrogate_module correctly when cross-compiling
This commit is contained in:
parent
a5566d0847
commit
3a665c6e2f
@ -1202,7 +1202,13 @@ def CompileImod(wobj, wsrc, opts):
|
||||
WriteFile(woutc,"")
|
||||
CompileCxx(wobj,woutc,opts)
|
||||
return
|
||||
cmd = GetOutputDir() + '/bin/interrogate_module '
|
||||
|
||||
if not CrossCompiling():
|
||||
# If we're compiling for this platform, we can use the one we've built.
|
||||
cmd = os.path.join(GetOutputDir(), 'bin', 'interrogate_module')
|
||||
else:
|
||||
cmd = 'interrogate_module'
|
||||
|
||||
cmd += ' -oc ' + woutc + ' -module ' + module + ' -library ' + library + ' -python-native '
|
||||
for x in wsrc: cmd += ' ' + BracketNameWithQuotes(x)
|
||||
oscmd(cmd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user