glGetInternalformativ is not an exported symbol.
Background
We are using Mesa software rendering pipeline as our GLES3 backend of testing framework and we noticed that a GLES3 API glGetInternalformativ caused linker error because the built library does not export any symbol about glGetInternalformativ.
Our building arguments:
- Using mesa 23.1.2
- Build on Mac M1 machine using such configurations
mesaCommonArgs="-Dplatforms= -Dvulkan-drivers= -Dgallium-drivers=swrast -Ddraw-use-llvm=true -Dosmesa=true -Dzstd=disabled -Dglx=disabled -Degl=disabled -Dgles1=enabled -Dgles2=enabled -Dshared-glapi=enabled"
python3 "$mesonPath/meson.py" ./build $mesaCommonArgs
python3 "$mesonPath/meson.py" compile -C ./build
- The built library 'libOSMesa.8.dylib' does not export any symbol about glGetInternalformativ.
Edited by wqyfavor