Support multiple PARROT_INCLUDE, PARROT_LIBRARY entries #903

Closed
rurban opened this Issue Dec 27, 2012 · 1 comment

Projects

None yet

1 participant

@rurban
Parrot Virtual Machine member

Seperated by the platform specific env_search_path_sep.

Currently only one directory may be added via the env variable.
Code already exists for the PARROT_DYNEXT extension.

See branch rurban/mult-parrot-env-gh903 based on code in branch rurban/pcre-dynext_libs-gh302

@rurban rurban was assigned Dec 27, 2012
@rurban rurban added a commit that referenced this issue Jan 2, 2013
@rurban rurban [GH #903] Fix first MANIFEST.generated lines on i386, sun4, ppc
Add Parrot::Configure->add_to_generated() method, forwarding to Parrot::BuildUtil::add_to_generated,
used in some auto::cpu probes. Do not pollute the probes with use Parrot::BuildUtil.
ff2ee9f
@rurban rurban added a commit that referenced this issue Jan 2, 2013
@rurban rurban [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)
b5e29c1
@rurban rurban added a commit that referenced this issue Jan 2, 2013
@rurban rurban [GH #903] Rename dynext_libs to dynext_dirs
For consistency with the other config *dir entries.
Note that nqp also has now a --dynext-paths option.
perl6/nqp#69
f77520a
@rurban
Parrot Virtual Machine member

Closed with f77520a

@rurban rurban closed this Jan 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment