Skip to content

Specific shared library numbers are too restrictive #85

Open
@prlw1

Description

@prlw1

I see in dispatch_common.c that you have

# ifdef ANDROID
# define EGL_LIB "libEGL.so"
# define GLES1_LIB "libGLESv1_CM.so"
# define GLES2_LIB "libGLESv2.so"
# else
# define EGL_LIB "libEGL.so.1"
# define GLES1_LIB "libGLESv1_CM.so.1"
# define GLES2_LIB "libGLESv2.so.2"
# endif

In other words, if on android, don't specify the major number, but otherwise do.

Maybe that should be, when on linux, specify the major number, otherwise don't?

I have the same issue with libGL.so: on my system, the major number is 2, so keep having to patch dispatch_common to remove the .1 - maybe you want to keep the .1 in #ifdef __LINUX__ ?

e.g.: http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/graphics/libepoxy/patches/patch-src_dispatch__common.c

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions