void-packages/srcpkgs/MangoHud/files/musl.patch

23 lines
871 B
Diff

--- src/meson.build 2021-06-11 22:12:53.000000000 +0200
+++ - 2021-06-14 23:32:49.677413454 +0200
@@ -3,16 +3,16 @@
# Needs prefix for configure_file()
if get_option('append_libdir_mangohud')
libdir_mangohud = join_paths(get_option('libdir'), 'mangohud')
- ld_libdir_mangohud = get_option('prefix') + '/\$LIB/mangohud/'
+ ld_libdir_mangohud = join_paths(get_option('prefix') ,get_option('libdir'), 'mangohud')
else
libdir_mangohud = get_option('libdir')
- ld_libdir_mangohud = get_option('prefix') + '/\$LIB/'
+ ld_libdir_mangohud = join_paths(get_option('prefix') ,get_option('libdir'))
endif
# For build.sh
if get_option('ld_libdir_prefix')
# FIXME derive from libdir
- ld_libdir_mangohud = get_option('prefix') + '/lib/mangohud/\$LIB/'
+ ld_libdir_mangohud = get_option('prefix') + '/lib/mangohud/lib'
endif
conf_data = configuration_data()