projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fa0be1
)
build: use meson to find system python instead of assuming it's called python
author
Abderrahim Kitouni
<akitouni@gnome.org>
Fri, 2 Aug 2019 04:51:47 +0000
(
05:51
+0100)
committer
Abderrahim Kitouni
<akitouni@gnome.org>
Fri, 2 Aug 2019 04:51:47 +0000
(
05:51
+0100)
some systems only have python3
babl/meson.build
patch
|
blob
|
history
diff --git
a/babl/meson.build
b/babl/meson.build
index 72b0e9b8b7ed17e347c243994b000070574f6e17..c57bc938d43636462febcf5b09099e72cd09ad53 100644
(file)
--- a/
babl/meson.build
+++ b/
babl/meson.build
@@
-1,13
+1,15
@@
bablInclude = include_directories('.')
subdir('base')
+python = import('python').find_installation()
+
version_script = 'babl.map'
export_symbols = join_paths(meson.source_root(), 'export-symbols')
version_script_target = custom_target(version_script,
input : [ export_symbols, ] ,
output: [ version_script ] ,
command: [
-
'python'
,
+
python
,
join_paths(meson.source_root(), 'gen_babl_map.py'),
export_symbols,
version_script,