# Copyright © 2017 Dylan Baker
+# Copyright © 2018 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
'-DGALLIUME_TRACE',
]
gallium_dri_ld_args = []
-gallium_dri_link_with = []
gallium_dri_link_depends = []
gallium_dri_drivers = []
gallium_dri_link_depends += files('../dri-vdpau.dyn')
endif
-if with_dri
- gallium_dri_link_with += libswdri
-endif
-if with_gallium_drisw_kms
- gallium_dri_link_with += libswkmsdri
-endif
-
libgallium_dri = shared_library(
'gallium_dri',
[files('target.c'), xmlpool_options_h],
link_with : [
libmesa_gallium, libdricommon, libmegadriver_stub, libdri, libgalliumvl,
libgallium, libddebug, libnoop, librbug, libtrace, libglapi,
- libpipe_loader_static, libws_null, libwsw, gallium_dri_link_with,
+ libpipe_loader_static, libws_null, libwsw, libswdri, libswkmsdri,
],
dependencies : [
dep_selinux, dep_expat, dep_libdrm, dep_llvm, dep_thread,