qulogic/libgnt

f00c0fdfdc66
Parents 88c07b4791fa
Children aa7c043c58dd
check for python3-embed before requiring python3
  • +4 -1
    meson.build
  • --- a/meson.build Tue Nov 05 16:50:26 2019 -0500
    +++ b/meson.build Wed Apr 22 18:58:58 2020 -0500
    @@ -204,7 +204,10 @@
    ]
    # Check for Python headers
    -python_dep = dependency('python3', required : false)
    +python_dep = dependency('python3-embed', required: false)
    +if not python_dep.found()
    + python_dep = dependency('python3', required : true)
    +endif
    gnt_config.set('USE_PYTHON', python_dep.found())
    configure_file(output : 'gntconfig.h',