Branch: refs/heads/rurban/pcre-dynext_libs-gh302
Home: https://github.com/parrot/parrot
Commit: 5b35da8ef509bceebfb186a34277db966325d6bb
https://github.com/parrot/parrot/commit/5b35da8ef509bceebfb186a34277db966325d6bb
Author: Reini Urban <[email protected]>
Date: 2012-12-27 (Thu, 27 Dec 2012)
Changed paths:
M ChangeLog
M config/init/hints/darwin.pm
M config/init/hints/openbsd.pm
M src/library.c
M t/library/lib_search_path.t
Log Message:
-----------
[GH #302] new config dynext_libs, new ENV var PARROT_DYNEXT, new
add_env_paths()
On some systems a special library dir is in the cc library search, or added by
-L to the libpath
but this path is missing from the loader configuration, so runtime dlopen
attempts will fail.
Most prominently pcre on macports or fink, missing /opt/local/lib.
Hints may add a new key dynext_libs to add such a path to DYNEXT for loadlib.
Also provide a new PARROT_DYNEXT to manually set such paths for the runtime.
Add a helper function add_env_paths() to add multiple paths from an enviroment
variable
to some library search path. Currently PARROT_INCLUDE and PARROT_LIBRARY only
accept one path element.
(See #903)
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits