aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/meson.build')
-rw-r--r--src/libexpr/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libexpr/meson.build b/src/libexpr/meson.build
index fda6fde2c..e60a85b5d 100644
--- a/src/libexpr/meson.build
+++ b/src/libexpr/meson.build
@@ -145,6 +145,7 @@ libexpr = library(
include_directories : [
'../libmain',
],
+ cpp_pch : ['../pch/precompiled-headers.hh'],
install : true,
# FIXME(Qyriad): is this right?
install_rpath : libdir,
@@ -161,6 +162,16 @@ liblixexpr = declare_dependency(
link_with : libexpr,
)
+# FIXME: remove when https://git.lix.systems/lix-project/lix/issues/359 is fixed.
+if is_static
+ liblixexpr_mstatic = declare_dependency(
+ include_directories : include_directories('.'),
+ link_whole : libexpr,
+ )
+else
+ liblixexpr_mstatic = liblixexpr
+endif
+
# FIXME: not using the pkg-config module because it creates way too many deps
# while meson migration is in progress, and we want to not include boost here
configure_file(