Skip to content

Commit

Permalink
Set FR specific library path.
Browse files Browse the repository at this point in the history
Because we need to manually look at a library path on El Capitan.
OSX prevents us from loading library paths via the standard
environment variable.
  • Loading branch information
alandekok committed Nov 9, 2015
1 parent 3a60a9c commit 9e57e0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/jlibtool.c
Expand Up @@ -2239,7 +2239,10 @@ static int run_mode(command_t *cmd)

l = "./build/lib/local/.libs";
setenv(LD_LIBRARY_PATH_LOCAL, l, 1);
#ifdef __APPLE__
setenv("DYLD_FALLBACK_LIBRARY_PATH", l, 1);
#endif
setenv("FR_LIBRARY_PATH", "./build/lib/local/.libs", 1);
rv = run_command(cmd, cmd->arglist);
if (rv) goto finish;
}
Expand Down

0 comments on commit 9e57e0f

Please sign in to comment.