[Users] [Bug 4271] Porting the Python plugin to Python 3.7

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Fri Feb 7 17:08:37 CET 2020


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4271

--- Comment #15 from Matej Cepl <mcepl at cepl.eu> ---
The standard construct for that is to try both:

    if $PYTHON-config --libs --embed >/dev/null 2>&1 ; then
      PYLIBS="$($PYTHON-config --libs --embed)"
    else
      PYLIBS="$($PYTHON-config --libs)"
    fi

or

    LIBS="python3-config --libs --embed || python3-config --libs"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list