diff options
author | Andreas Boll <[email protected]> | 2012-12-06 18:36:25 +0100 |
---|---|---|
committer | Andreas Boll <[email protected]> | 2012-12-07 09:21:44 +0100 |
commit | 520892688af7ce9baca6e2b72e7e7eaebe02260c (patch) | |
tree | 2f401cd3e69d77fe9a0fe092c8a320d7d7f06064 /src/mapi/es1api | |
parent | 5b2a3443facc561f928fe054abd3542cdda51be9 (diff) |
build: Fix GLES linkage without libglapi
fixes a regression introduced with
fc9ea7c74dc5cb996c3d9fe6663fd6da080e8360
NOTE: This is a candidate for the 9.0 branch.
Reported-by: Brian Paul <[email protected]>
Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mapi/es1api')
-rw-r--r-- | src/mapi/es1api/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mapi/es1api/Makefile.am b/src/mapi/es1api/Makefile.am index c49c86ebeed..c163a396c7f 100644 --- a/src/mapi/es1api/Makefile.am +++ b/src/mapi/es1api/Makefile.am @@ -41,9 +41,13 @@ GLES_include_HEADERS = \ lib_LTLIBRARIES = libGLESv1_CM.la libGLESv1_CM_la_SOURCES = ../mapi/entry.c glapi_mapi_tmp.h -libGLESv1_CM_la_LIBADD = $(GLESv1_CM_LIB_DEPS) ../shared-glapi/libglapi.la +libGLESv1_CM_la_LIBADD = $(GLESv1_CM_LIB_DEPS) libGLESv1_CM_la_LDFLAGS = -version-number 1:1 -no-undefined +if HAVE_SHARED_GLAPI +libGLESv1_CM_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,$<,es1api) |