Fix PBD wscript to be python3 compatible

This commit is contained in:
Sakari Bergen
2013-03-24 14:51:57 +02:00
parent 3276856105
commit 24816de6ca

View File

@@ -112,10 +112,10 @@ def build(bld):
# Library
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
print 'BUILD SHARED LIB'
print('BUILD SHARED LIB')
obj = bld.shlib(features = 'cxx cxxshlib', source=libpbd_sources)
else:
print 'BUILD STATIC LIB'
print('BUILD STATIC LIB')
obj = bld.stlib(features = 'cxx cxxstlib', source=libpbd_sources)
obj.cxxflags = [ '-fPIC' ]