Index: bundles/pyml/pyml-current/py.ml
--- bundles/pyml/pyml-current/py.ml.orig
+++ bundles/pyml/pyml-current/py.ml
@@ -376,7 +376,7 @@ let library_suffix =
 
 let libpython_from_pkg_config version_major version_minor =
   let command =
-    Printf.sprintf "pkg-config --libs python-%d.%d" version_major
+    Printf.sprintf "pkg-config --libs python-%d.%d-embed" version_major
       version_minor in
   match run_command_opt command false with
     Some (words :: _) ->
