summaryrefslogtreecommitdiff
path: root/gir
diff options
context:
space:
mode:
Diffstat (limited to 'gir')
-rw-r--r--gir/meson.build8
1 files changed, 3 insertions, 5 deletions
diff --git a/gir/meson.build b/gir/meson.build
index 945a16da..4a3b4508 100644
--- a/gir/meson.build
+++ b/gir/meson.build
@@ -392,13 +392,11 @@ girepository_command = scanner_command + [
'--namespace=GIRepository',
'--nsversion=2.0',
'--library=girepository-1.0',
+ '--pkg-export=gobject-introspection-1.0',
+ '-L' + meson.current_build_dir() + '/../girepository',
]
-if dep_type == 'pkgconfig'
- girepository_command += ['--external-library', '--pkg=gobject-introspection-1.0']
-else
- girepository_command += ['--pkg-export=gobject-introspection-1.0',
- '-L' + meson.current_build_dir() + '/../girepository']
+if dep_type != 'pkgconfig'
girepository_command += glib_libpaths
endif