@@ -18,6 +18,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+hidden_symbols = ['-fvisibility=hidden']
+
libdrm_intel = shared_library(
'drm_intel',
[
@@ -30,7 +32,7 @@ libdrm_intel = shared_library(
include_directories : [inc_root, inc_drm],
link_with : libdrm,
dependencies : [dep_pciaccess, dep_pthread_stubs, dep_rt, dep_valgrind, dep_atomic_ops],
- c_args : warn_c_args,
+ c_args : warn_c_args + hidden_symbols,
version : '1.0.0',
install : true,
)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> --- intel/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)