PyCuAmpcor: add gdal lib to link
parent
5977d7b0dd
commit
4cc13950a8
|
@ -39,6 +39,8 @@ def cythonPseudoBuilder(env, src, bld, inst):
|
||||||
|
|
||||||
# Add the Numpy headers to the include path
|
# Add the Numpy headers to the include path
|
||||||
env.Append(CPPFLAGS = ['-I'+np_header_path])
|
env.Append(CPPFLAGS = ['-I'+np_header_path])
|
||||||
|
libList = ['gdal']
|
||||||
|
env.PrependUnique(LIBS=libList)
|
||||||
listFiles.append('PyCuAmpcor.so')
|
listFiles.append('PyCuAmpcor.so')
|
||||||
env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = True
|
env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = True
|
||||||
lib = env.LoadableModule(target='PyCuAmpcor.abi3.so', source=listFiles, CPPDEFINES='GPU_ACC_ENABLED')
|
lib = env.LoadableModule(target='PyCuAmpcor.abi3.so', source=listFiles, CPPDEFINES='GPU_ACC_ENABLED')
|
||||||
|
|
Loading…
Reference in New Issue