Without the .def file, function names are decorated and cannot be
queried by GetProcAddress easily.
egl = env.SharedLibrary(
target = 'libEGL',
- source = egl_sources,
+ source = egl_sources + ['egl.def'],
)
env.InstallSharedLibrary(egl, version=(1, 4, 0))
--- /dev/null
+EXPORTS
+ eglBindAPI
+ eglBindTexImage
+ eglChooseConfig
+ eglCopyBuffers
+ eglCreateContext
+ eglCreatePbufferFromClientBuffer
+ eglCreatePbufferSurface
+ eglCreatePixmapSurface
+ eglCreateWindowSurface
+ eglDestroyContext
+ eglDestroySurface
+ eglGetConfigAttrib
+ eglGetConfigs
+ eglGetCurrentContext
+ eglGetCurrentDisplay
+ eglGetCurrentSurface
+ eglGetDisplay
+ eglGetError
+ eglGetProcAddress
+ eglInitialize
+ eglMakeCurrent
+ eglQueryAPI
+ eglQueryContext
+ eglQueryString
+ eglQuerySurface
+ eglReleaseTexImage
+ eglReleaseThread
+ eglSurfaceAttrib
+ eglSwapBuffers
+ eglSwapInterval
+ eglTerminate
+ eglWaitClient
+ eglWaitGL
+ eglWaitNative