File: visibility.patch

package info (click to toggle)
microprofile 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,960 kB
  • sloc: cpp: 17,692; asm: 372; ansic: 265; makefile: 257; sh: 36
file content (25 lines) | stat: -rw-r--r-- 623 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: use GCC visibility
 This allows to only expose public symbols
Author: Andrea Pappacoda <andrea@pappacoda.it>
Forwarded: no
Last-Update: 2022-12-28

--- microprofile-3.1+ds.orig/meson.build
+++ microprofile-3.1+ds/meson.build
@@ -12,7 +12,7 @@ project(
 		'cpp_std=c++11'
 	],
 	license: 'MIT',
-	meson_version: '>=0.46.0',
+	meson_version: '>=0.48.0',
 	version: '4.0'
 )
 
@@ -48,6 +48,7 @@ libmicroprofile = library(
 	'microprofile.cpp',
 	cpp_args: extra_args,
 	dependencies: deps,
+	gnu_symbol_visibility: 'hidden',
 	include_directories: include_dir,
 	install: true,
 	version: meson.project_version()