X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fdrm-shim%2Fmeson.build;h=2a7ea000a61750138d36b672aaf0bd283ec219af;hb=a8e2d79e0228106d11b6ceeb38f4ffb587f0a819;hp=1638c5ae728e8f2334364121401e76d86168b62e;hpb=82bf1979d7b7d83e8e213b11ff7787e6939c8f7e;p=mesa.git diff --git a/src/drm-shim/meson.build b/src/drm-shim/meson.build index 1638c5ae728..2a7ea000a61 100644 --- a/src/drm-shim/meson.build +++ b/src/drm-shim/meson.build @@ -1,4 +1,5 @@ # Copyright © 2019 Broadcom +# Copyright © 2020 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 @@ -19,16 +20,17 @@ # SOFTWARE. drm_shim = static_library( - ['drm_shim'], + 'drm_shim', [ 'device.c', 'drm_shim.c', ], - link_with: libmesa_util, - include_directories: [inc_common], - dependencies: [dep_dl], - c_args : [c_vis_args, '-std=gnu99'], + include_directories: [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux], + dependencies: [dep_libdrm, idep_mesautil, dep_dl], + gnu_symbol_visibility : 'hidden', + override_options : ['c_std=gnu99'], ) dep_drm_shim = declare_dependency( - link_with: drm_shim + link_with: drm_shim, + dependencies: dep_libdrm, )