aboutsummaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorGravatar Gediminas Jakutis <gediminas@varciai.lt> 2019-12-19 15:47:00 +0200
committerGravatar Gediminas Jakutis <gediminas@varciai.lt> 2019-12-19 15:47:00 +0200
commit89d17b4f3dfd4f6503ce48e206b211c3bfb8dcee (patch)
tree960c530ac28c12dfea0bbeee14796f0258cda20c /meson_options.txt
parent00ec4d4cd53c684d65c69c1b5419556fe295d62c (diff)
downloadlibrin-89d17b4f3dfd4f6503ce48e206b211c3bfb8dcee.tar.gz
librin-89d17b4f3dfd4f6503ce48e206b211c3bfb8dcee.tar.bz2
librin-89d17b4f3dfd4f6503ce48e206b211c3bfb8dcee.zip
meson: simplify build scripts, prune some options.
Also inadvertently fixed a bug with defining _GNU_SOURCE at the wrong time, which could have possibly led to unexpected build failures down the line. Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt16
1 files changed, 6 insertions, 10 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 0e1aca4..b4ed44d 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,12 +1,8 @@
-option('static',
+option('enable-pic',
+ type : 'feature',
+ value : 'enabled',
+ description : 'Switch whether to generate position-independent code')
+option('enable-tests',
type : 'boolean',
value : false,
- description : 'Enable building a static library')
-option('shared',
- type : 'boolean',
- value : false,
- description : 'Enable building a dynamic library')
-option('tests',
- type : 'boolean',
- value : false,
- description : 'Enable building and running tests')
+ description : 'Switch for building and running tests')