Permalink
Browse files

Add experimental ability to modify PARROT_LIB_PATH_LANG with the -L c…

…ommandline switch.
  • Loading branch information...
1 parent e187a44 commit 229a7813acaf55b38110d81639365d6c097bf74b @Whiteknight Whiteknight committed Apr 18, 2011
Showing with 72 additions and 61 deletions.
  1. +68 −61 api.yaml
  2. +4 −0 src/embed/api.c
View
View
@@ -604,6 +604,10 @@ Parrot_api_add_library_search_path(Parrot_PMC interp_pmc,
ASSERT_ARGS(Parrot_api_add_library_search_path)
EMBED_API_CALLIN(interp_pmc, interp)
Parrot_lib_add_path_from_cstring(interp, path, PARROT_LIB_PATH_LIBRARY);
+
+ /* EXPERIMENTAL. This line has been added experimentally because it is a
+ missing feature, and it may go away at any time without warning. */
+ Parrot_lib_add_path_from_cstring(interp, path, PARROT_LIB_PATH_LANG);
EMBED_API_CALLOUT(interp_pmc, interp)
}

0 comments on commit 229a781

Please sign in to comment.