View | Details | Raw Unified | Return to bug 277905 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/jose/files/patch-lib_meson.build (+10 lines)
Added Link Here
1
--- lib/meson.build.orig        2024-02-02 10:53:08 UTC
2
+++ lib/meson.build
3
@@ -2,7 +2,7 @@ flags = '-Wl,--version-script=' + meson.current_source_dir() + '/libjose.map'
4
 code = 'int main() { return 0; }'
5
 cc = meson.get_compiler('c')
6
7
-if not cc.links(code, args: flags, name: '-Wl,--version-script=...')
8
+if not cc.links(code, args: flags + ',--undefined-version' , name: '-Wl, --version-script=...')
9
   flags = [ '-export-symbols-regex=^jose_.*' ]
10
 endif

Return to bug 277905