layer: Ensure .so files for x64 and x86 have different names

This commit is contained in:
Joshua Ashton 2023-09-20 02:14:00 +01:00
parent af3f6bf827
commit eedcc73dfd
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
"name": "VK_LAYER_FROG_gamescope_wsi",
"type": "GLOBAL",
"api_version": "1.3.221",
"library_path": "@lib_dir@/libVkLayer_FROG_gamescope_wsi.so",
"library_path": "@lib_dir@/libVkLayer_FROG_gamescope_wsi_@family@.so",
"implementation_version": "1",
"description": "Gamescope WSI (XWayland Bypass) Layer (@family@)",
"functions": {

View file

@ -4,7 +4,7 @@ dep_x11_xcb = dependency('x11-xcb')
glm_dep = dependency('glm')
wayland_client = dependency('wayland-client')
gamescope_wsi_layer = shared_library('VkLayer_FROG_gamescope_wsi', 'VkLayer_FROG_gamescope_wsi.cpp', protocols_client_src,
gamescope_wsi_layer = shared_library('VkLayer_FROG_gamescope_wsi_' + build_machine.cpu_family(), 'VkLayer_FROG_gamescope_wsi.cpp', protocols_client_src,
dependencies : [ vkroots_dep, dep_xcb, dep_x11, dep_x11_xcb, glm_dep, wayland_client ],
install : true )