Re: [gtk-osx-users] Can not compile python-launcher.c
- From: Timo <timomlists gmail com>
- To: John Ralls <jralls ceridwen us>
- Cc: "gtk-osx-users-list gnome org" <gtk-osx-users-list gnome org>
- Subject: Re: [gtk-osx-users] Can not compile python-launcher.c
- Date: Sun, 26 Apr 2020 19:30:33 +0200
On 26/04/2020 at 17:20, John Ralls wrote:
It seems that python 3.8 requires an additional argument to python3-config, --embed.
From https://docs.python.org/3/whatsnew/3.8.html,
"To embed Python into an application, a new --embed option must be passed to python3-config --libs --embed to get
-lpython3.8 (link the application to libpython). To support both 3.8 and older, try python3-config --libs --embed first
and fallback to python3-config --libs (without --embed) if the previous command fails."
That did it, thanks!
Gtk-osx doesn't support Python2.
I thought so, only tried it because in the gtk-mac-bundler instructions
python-config is used instead of python3-config.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]