mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
autotools: library-dependency when no sse and 32-bit
Building of 32bit Mesa may fail if __SSE__ is not specified. Added missed dependency from libm. v2: avoided dependecy on any flag, just link v3: meson doesn't fail, but have added dependency on libm CC: Dylan Baker <dylan@pnwbakers.com> CC: Lionel G Landwerlin <lionel.g.landwerlin@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108560 Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
f7fd0d86a9
commit
ce837a5372
2 changed files with 3 additions and 2 deletions
|
|
@ -60,7 +60,8 @@ libmesautil_la_LIBADD = \
|
||||||
$(PTHREAD_LIBS) \
|
$(PTHREAD_LIBS) \
|
||||||
$(CLOCK_LIB) \
|
$(CLOCK_LIB) \
|
||||||
$(ZLIB_LIBS) \
|
$(ZLIB_LIBS) \
|
||||||
$(LIBATOMIC_LIBS)
|
$(LIBATOMIC_LIBS) \
|
||||||
|
-lm
|
||||||
|
|
||||||
libxmlconfig_la_SOURCES = $(XMLCONFIG_FILES)
|
libxmlconfig_la_SOURCES = $(XMLCONFIG_FILES)
|
||||||
libxmlconfig_la_CFLAGS = \
|
libxmlconfig_la_CFLAGS = \
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ libmesa_util = static_library(
|
||||||
'mesa_util',
|
'mesa_util',
|
||||||
[files_mesa_util, format_srgb],
|
[files_mesa_util, format_srgb],
|
||||||
include_directories : inc_common,
|
include_directories : inc_common,
|
||||||
dependencies : [dep_zlib, dep_clock, dep_thread, dep_atomic],
|
dependencies : [dep_zlib, dep_clock, dep_thread, dep_atomic, dep_m],
|
||||||
c_args : [c_msvc_compat_args, c_vis_args],
|
c_args : [c_msvc_compat_args, c_vis_args],
|
||||||
build_by_default : false
|
build_by_default : false
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue