jasper: avoid --gc-sections / hidden symbols (#30617)
Jasper v3.x changed a default to hide hidden symbols, but apparently eccodes relies on those symbols and fails to link otherwise.
This commit is contained in:
parent
c164e6fe03
commit
1c51d6313b
@ -57,6 +57,11 @@ def cmake_args(self):
|
||||
else:
|
||||
args.append('-DJAS_ENABLE_SHARED=false')
|
||||
|
||||
# The default is ON from version 3.x, OFF for 2.x.
|
||||
# packages like eccodes rely on those symbols.
|
||||
# Force the same default here.
|
||||
args.append('-DJAS_ENABLE_HIDDEN=OFF')
|
||||
|
||||
return args
|
||||
|
||||
def configure_args(self):
|
||||
|
Loading…
Reference in New Issue
Block a user