Fix alos bindings

This has been broken since splitting up image_sio.c/h in some edge
casses. The extern variables are not "weakly linked" on macOS SCons
so they must be visible to the module even if they are not used.
LT1AB
Ryan Burns 2021-03-05 11:00:14 -08:00
parent e608eaf319
commit 74059bbd5c
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ libList2 = ['cosar','DataAccessor','InterleavedAccessor']
envSensor1.PrependUnique(LIBS = libList1)
envSensor2.PrependUnique(LIBS = libList2)
alosmodule = envSensor1.LoadableModule(target = 'alos.abi3.so', source = 'alosmodule.cpp')
alosmodule = envSensor1.LoadableModule(target = 'alos.abi3.so',
source = [ 'alosmodule.cpp', '../src/ALOS_pre_process/image_sio.c' ])
envSensor1.Install(install,alosmodule)
cosarmodule = envSensor2.LoadableModule(target = 'cosar.abi3.so', source = 'cosarmodule.cpp')