File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -298,16 +298,16 @@ be directly useful to you:
298298
299299 .. code-block :: shell-session
300300
301- $ /opt/bin/python3.4 -config --cflags
302- -I/opt/include/python3.4m -I/opt/include/python3.4m - DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
301+ $ /opt/bin/python3.11 -config --cflags
302+ -I/opt/include/python3.11 -I/opt/include/python3.11 -Wsign-compare - DNDEBUG -g -fwrapv -O3 -Wall
303303
304- * ``pythonX.Y-config --ldflags `` will give you the recommended flags when
305- linking:
304+ * ``pythonX.Y-config --ldflags --embed `` will give you the recommended flags
305+ when linking:
306306
307307 .. code-block :: shell-session
308308
309- $ /opt/bin/python3.4 -config --ldflags
310- -L/opt/lib/python3.4 /config-3.4m -lpthread -ldl -lutil -lm -lpython3.4m -Xlinker -export-dynamic
309+ $ /opt/bin/python3.11 -config --ldflags --embed
310+ -L/opt/lib/python3.11 /config-3.11-x86_64-linux-gnu -L/opt/lib -lpython3.11 -lpthread -ldl -lutil -lm
311311
312312 .. note ::
313313 To avoid confusion between several Python installations (and especially
You can’t perform that action at this time.
0 commit comments