libgnt/libgnt

If we can't find python vi python2.pc try python-2.7.pc
release-2.x.y
2021-07-22, Gary Kramlich
d81c27986f7b
Parents 6257c6712eaf
Children 83fe6314794f
If we can't find python vi python2.pc try python-2.7.pc

Testing Done:
Compiled

Reviewed at https://reviews.imfreedom.org/r/822/
  • +3 -0
    meson.build
  • --- a/meson.build Thu Jul 15 23:28:53 2021 -0500
    +++ b/meson.build Thu Jul 22 16:33:42 2021 -0500
    @@ -192,6 +192,9 @@
    # Check for Python headers
    python_dep = dependency('python2', required : false)
    +if not python_dep.found()
    + python_dep = dependency('python-2.7', required : false)
    +endif
    gnt_config.set('USE_PYTHON', python_dep.found())
    configure_file(output : 'gntconfig.h',