linux compilation fixes
parent
5ebb8a76c2
commit
f83f4b1262
|
@ -23,7 +23,7 @@ COLLADALIB = ['collada14dom']
|
||||||
PYTHONINCLUDE = []
|
PYTHONINCLUDE = []
|
||||||
PYTHONLIB = ['boost_python']
|
PYTHONLIB = ['boost_python']
|
||||||
|
|
||||||
for entry in os.popen("pkg-config --cflags --libs python").read().split():
|
for entry in os.popen("python-config --cflags --libs").read().split():
|
||||||
if entry[:2] == '-I':
|
if entry[:2] == '-I':
|
||||||
PYTHONINCLUDE += [entry[2:]]
|
PYTHONINCLUDE += [entry[2:]]
|
||||||
if entry[:2] == '-l':
|
if entry[:2] == '-l':
|
||||||
|
|
|
@ -23,7 +23,7 @@ COLLADALIB = ['collada14dom']
|
||||||
PYTHONINCLUDE = []
|
PYTHONINCLUDE = []
|
||||||
PYTHONLIB = ['boost_python']
|
PYTHONLIB = ['boost_python']
|
||||||
|
|
||||||
for entry in os.popen("pkg-config --cflags --libs python").read().split():
|
for entry in os.popen("python-config --cflags --libs").read().split():
|
||||||
if entry[:2] == '-I':
|
if entry[:2] == '-I':
|
||||||
PYTHONINCLUDE += [entry[2:]]
|
PYTHONINCLUDE += [entry[2:]]
|
||||||
if entry[:2] == '-l':
|
if entry[:2] == '-l':
|
||||||
|
|
Loading…
Reference in New Issue