ports/devel/criterion/files/patch-meson.build
Yuri Victorovich 52bf11c32f devel/criterion: Update 2.4.1-13 → 2.4.2
Reported by:	portscout
2023-06-05 09:05:46 -07:00

45 lines
1.1 KiB
Text

- use the shared library for nanopb
--- meson.build.orig 2023-05-13 16:02:30 UTC
+++ meson.build
@@ -138,9 +138,9 @@ deps = []
cmake = import('cmake')
-debugbreak = dependency('debugbreak')
+#debugbreak = dependency('debugbreak')
-klib = dependency('klib')
+#klib = dependency('klib')
threads = dependency('threads')
@@ -178,7 +178,7 @@ else
endif
nanopb = dependency('nanopb', required: get_option('wrap_mode') == 'nofallback', method: 'cmake',
- modules: ['nanopb::protobuf-nanopb-static'])
+ modules: ['nanopb::protobuf-nanopb'])
must_regenerate_pb = nanopb.found()
if (not nanopb.found()
or get_option('wrap_mode') == 'forcefallback'
@@ -192,7 +192,7 @@ if (not nanopb.found()
'CMAKE_POSITION_INDEPENDENT_CODE': true,
})
nanopb_proj = cmake.subproject('nanopb-cmake', options: nanopb_opts)
- nanopb = nanopb_proj.dependency('protobuf-nanopb-static')
+ nanopb = nanopb_proj.dependency('protobuf-nanopb')
endif
libgit2 = dependency('libgit2', required: get_option('wrap_mode') == 'nofallback')
@@ -244,8 +244,8 @@ else
endif
deps += [
- debugbreak,
- klib,
+ #debugbreak,
+ #klib,
threads,
boxfort,
libffi,