diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-11-12 01:13:01 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-11-12 01:30:08 +0200 |
commit | b216cc1b8096eb60c27f67e8c27b7cd756c75e38 (patch) | |
tree | 261cc276957765f88dc0d618e90a7608bbaae166 /vcl/CppunitTest_vcl_bitmap_test.mk | |
parent | 318c3a48c66dd4ceba801ef410f89b8bf900d5c7 (diff) |
Avoid mesa_headers on X11, also link with -lGL only where necesssary
The GLEW headers are enough, and what we actually use in these
places. In addition to handling GL extension things in its dynamic
fashion, GLEW headers also have declarations for standard,
non-extension, OpenGL API, including xgl and wgl ones.
Most likely we don't need mesa_headers on Windows or OS X either, and
can drop them completely.
Change-Id: Ic0d8d6238c862f8fe4a74e99e95344dcbf540980
Diffstat (limited to 'vcl/CppunitTest_vcl_bitmap_test.mk')
-rw-r--r-- | vcl/CppunitTest_vcl_bitmap_test.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/CppunitTest_vcl_bitmap_test.mk b/vcl/CppunitTest_vcl_bitmap_test.mk index 33a0772695be..8e94d8b17b0e 100644 --- a/vcl/CppunitTest_vcl_bitmap_test.mk +++ b/vcl/CppunitTest_vcl_bitmap_test.mk @@ -18,7 +18,7 @@ $(eval $(call gb_CppunitTest_use_externals,vcl_bitmap_test,\ boost_headers \ glew \ glm_headers \ - mesa_headers \ + $(if $(filter WNT MACOSX,$(OS)),mesa_headers) \ )) $(eval $(call gb_CppunitTest_set_include,vcl_bitmap_test,\ |