aboutsummaryrefslogtreecommitdiff
path: root/pkgconfig/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'pkgconfig/meson.build')
-rw-r--r--pkgconfig/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build
index 6edc8831..424b6ee0 100644
--- a/pkgconfig/meson.build
+++ b/pkgconfig/meson.build
@@ -1,3 +1,4 @@
+if get_option('pkgconfig')
pkgconfig_dir = get_option('libdir') / 'pkgconfig'
pkgconfig_conf_data = configuration_data()
@@ -20,3 +21,4 @@ foreach file : pkgconfig_files
configuration : pkgconfig_conf_data,
install_dir : pkgconfig_dir)
endforeach
+endif