diff options
Diffstat (limited to 'src/mapi/es2api')
-rw-r--r-- | src/mapi/es2api/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mapi/es2api/Makefile.am b/src/mapi/es2api/Makefile.am index 5e02e1c449a..0538f736dfa 100644 --- a/src/mapi/es2api/Makefile.am +++ b/src/mapi/es2api/Makefile.am @@ -45,9 +45,13 @@ GLES3_include_HEADERS = \ lib_LTLIBRARIES = libGLESv2.la libGLESv2_la_SOURCES = ../mapi/entry.c glapi_mapi_tmp.h -libGLESv2_la_LIBADD = $(GLESv2_LIB_DEPS) ../shared-glapi/libglapi.la +libGLESv2_la_LIBADD = $(GLESv2_LIB_DEPS) libGLESv2_la_LDFLAGS = -version-number 2 -no-undefined +if HAVE_SHARED_GLAPI +libGLESv2_la_LIBADD += ../shared-glapi/libglapi.la +endif + include ../glapi/gen/glapi_gen.mk glapi_mapi_tmp.h: ../glapi/gen/gl_and_es_API.xml $(glapi_gen_mapi_deps) $(call glapi_gen_mapi,$<,es2api) |