aboutsummaryrefslogtreecommitdiffstats
path: root/meson/library
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-14 20:36:00 -0500
committerDavid Robillard <d@drobilla.net>2023-01-14 20:36:00 -0500
commitf330490cbc5546fa943aead493577950ed96cbb6 (patch)
treeec23d7e1c23e4de9f065c7a2c2f7b19316063e0f /meson/library
parent9dc04ad3c5b62d0018eae14dc177be2993dbcbd4 (diff)
downloadlv2-f330490cbc5546fa943aead493577950ed96cbb6.tar.xz
Remove unused meson file
Diffstat (limited to 'meson/library')
-rw-r--r--meson/library/meson.build30
1 files changed, 0 insertions, 30 deletions
diff --git a/meson/library/meson.build b/meson/library/meson.build
deleted file mode 100644
index 81aab96..0000000
--- a/meson/library/meson.build
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2020-2022 David Robillard <d@drobilla.net>
-# SPDX-License-Identifier: 0BSD OR ISC
-
-# General definitions for building libraries.
-#
-# These are essentially workarounds for meson and/or MSVC. Unfortunately,
-# meson's default_library option doesn't support shared and static builds very
-# well. In particular, it's often necessary to define different symbols for
-# static and shared builds of libraries so that symbols can be exported. To
-# work around this, we do not support default_library=both on Windows. On
-# other platforms with GCC-like compilers, we can support both because symbols
-# can safely be exported in the same way (giving them default visibility) in
-# both static and shared builds.
-
-# Abort on Windows with default_library=both
-if get_option('default_library') == 'both'
- if host_machine.system() == 'windows'
- error('default_library=both is not supported on Windows')
- endif
-endif
-
-# Set library_suffix to the suffix for libraries
-if cc.get_id() == 'msvc'
- # Meson appends a version to the name only on MS, which leads to inconsistent
- # library names, like `mylib-1-1`. So, provide no suffix to ultimately get
- # the same name as on other platforms, like `mylib-1`.
- library_suffix = ''
-else
- library_suffix = '-@0@'.format(meson.project_version().split('.')[0])
-endif