initial commit
This commit is contained in:
24
support/3rd_party/libdsm_meson_build.patch
vendored
Normal file
24
support/3rd_party/libdsm_meson_build.patch
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
*** meson.build 2024-08-25 13:25:34.223915502 -0500
|
||||
--- meson.build.new 2024-08-25 13:30:22.078549158 -0500
|
||||
*************** else
|
||||
*** 114,132 ****
|
||||
compat_sources += 'compat/strndup.c'
|
||||
endif
|
||||
|
||||
- if cc.has_function('clock_gettime', prefix: '#include <time.h>',
|
||||
- dependencies: dep_thread)
|
||||
- conf_data.set('HAVE_CLOCK_GETTIME', 1)
|
||||
- else
|
||||
- dep_rt = cc.find_library('rt', required: false)
|
||||
- if cc.has_function('clock_gettime', prefix: '#include <time.h>',
|
||||
- dependencies: [dep_rt, dep_thread])
|
||||
- conf_data.set('HAVE_CLOCK_GETTIME', 1)
|
||||
- else
|
||||
- compat_sources += 'compat/clock_gettime.c'
|
||||
- endif
|
||||
- endif
|
||||
-
|
||||
if cc.has_function('pipe')
|
||||
conf_data.set('HAVE_PIPE', 1)
|
||||
endif
|
||||
--- 114,119 ----
|
||||
Reference in New Issue
Block a user