PyCuAmpcor: add gdal lib to link

LT1AB
Lijun Zhu 2020-02-07 15:07:46 -08:00 committed by piyushrpt
parent 5977d7b0dd
commit 4cc13950a8
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ def cythonPseudoBuilder(env, src, bld, inst):
# Add the Numpy headers to the include path
env.Append(CPPFLAGS = ['-I'+np_header_path])
libList = ['gdal']
env.PrependUnique(LIBS=libList)
listFiles.append('PyCuAmpcor.so')
env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = True
lib = env.LoadableModule(target='PyCuAmpcor.abi3.so', source=listFiles, CPPDEFINES='GPU_ACC_ENABLED')