mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
scons: Conditionally use DRM module on pipe-loader.
Fixes non Linux builds.
Trivial.
(cherry picked from commit 02afbd2476)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93628
Nominted-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
4b88e1f758
commit
27d2dbd447
1 changed files with 4 additions and 5 deletions
|
|
@ -17,12 +17,11 @@ env.Append(CPPDEFINES = [
|
||||||
|
|
||||||
source = env.ParseSourceList('Makefile.sources', 'COMMON_SOURCES')
|
source = env.ParseSourceList('Makefile.sources', 'COMMON_SOURCES')
|
||||||
|
|
||||||
#if HAVE_LIBDRM
|
if env['HAVE_DRM']:
|
||||||
source += env.ParseSourceList('Makefile.sources', 'DRM_SOURCES')
|
source += env.ParseSourceList('Makefile.sources', 'DRM_SOURCES')
|
||||||
|
|
||||||
env.PkgUseModules('DRM')
|
env.PkgUseModules('DRM')
|
||||||
env.Append(LIBS = [libloader])
|
env.Append(LIBS = [libloader])
|
||||||
#endif
|
|
||||||
|
|
||||||
pipe_loader = env.ConvenienceLibrary(
|
pipe_loader = env.ConvenienceLibrary(
|
||||||
target = 'pipe_loader',
|
target = 'pipe_loader',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue