Regen charmonizer for Python details.

Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/1cf2a6d7
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/1cf2a6d7
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/1cf2a6d7

Branch: refs/heads/master
Commit: 1cf2a6d7d9d895879e4224cf9d3008426af7402b
Parents: 1f30f3e
Author: Marvin Humphrey <[email protected]>
Authored: Tue Dec 16 09:55:52 2014 -0800
Committer: Marvin Humphrey <[email protected]>
Committed: Sat Feb 6 09:58:13 2016 -0800

----------------------------------------------------------------------
 runtime/common/charmonizer.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1cf2a6d7/runtime/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/runtime/common/charmonizer.c b/runtime/common/charmonizer.c
index c0a75ad..e9e571a 100644
--- a/runtime/common/charmonizer.c
+++ b/runtime/common/charmonizer.c
@@ -8183,7 +8183,16 @@ cfish_MakeFile_new(chaz_CLI *cli) {
         self->host_src_dir = "ext";
         self->autogen_src_files = go_autogen_src_files;
     }
-    else if (strcmp(chaz_CLI_strval(cli, "host"), "perl") == 0) {
+    else if (chaz_CLI_defined(cli, "enable-python")) {
+        static const char *python_autogen_src_files[] = {
+            "cfish_parcel",
+            "testcfish_parcel",
+            NULL
+        };
+        self->host_src_dir = "cfext";
+        self->autogen_src_files = python_autogen_src_files;
+    }
+    else if (chaz_CLI_defined(cli, "enable-perl")) {
         static const char *perl_autogen_src_files[] = {
             "boot",
             "callbacks",

Reply via email to