[parrot/parrot] f1f4f4: [GH #302] new config dynext_libs, new ENV var PARR...

GitHub noreply at github.com
Thu Dec 27 20:04:19 UTC 2012


  Branch: refs/heads/rurban/pcre-dynext_libs-gh302
  Home:   https://github.com/parrot/parrot
  Commit: f1f4f4eaf8725d4e1830bcdbe155b51ebfb37f00
      https://github.com/parrot/parrot/commit/f1f4f4eaf8725d4e1830bcdbe155b51ebfb37f00
  Author: Reini Urban <rurban at cpanel.net>
  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)





More information about the parrot-commits mailing list