[svn:parrot] r40480 - branches/pcc_arg_unify/src

allison at svn.parrot.org allison at svn.parrot.org
Mon Aug 10 23:23:31 UTC 2009


Author: allison
Date: Mon Aug 10 23:23:26 2009
New Revision: 40480
URL: https://trac.parrot.org/parrot/changeset/40480

Log:
[pcc] Allow the include path to search rooted at the build directory
when a build directory is defined. (PGE needs this at the moment.)

Modified:
   branches/pcc_arg_unify/src/library.c

Modified: branches/pcc_arg_unify/src/library.c
==============================================================================
--- branches/pcc_arg_unify/src/library.c	Mon Aug 10 20:20:51 2009	(r40479)
+++ branches/pcc_arg_unify/src/library.c	Mon Aug 10 23:23:26 2009	(r40480)
@@ -191,6 +191,8 @@
     VTABLE_set_pmc_keyed_int(interp, lib_paths,
             PARROT_LIB_PATH_INCLUDE, paths);
     if (!STRING_IS_NULL(builddir)) {
+        entry = Parrot_str_concat(interp, builddir, CONST_STRING(interp, "/"), 0);
+        VTABLE_push_string(interp, paths, entry);
         entry = Parrot_str_concat(interp, builddir, CONST_STRING(interp, "/runtime/parrot/include/"), 0);
         VTABLE_push_string(interp, paths, entry);
     }


More information about the parrot-commits mailing list