Skip to content

Commit

Permalink
Mac: Initialize Library while cwd is unaffected by -userdir
Browse files Browse the repository at this point in the history
Fixes loading of plugins.
  • Loading branch information
skyjake committed Dec 31, 2011
1 parent 6a05596 commit cfacf2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/engine/unix/src/dd_uinit.c
Expand Up @@ -217,8 +217,6 @@ static int initTimingSystem(void)

static int initPluginSystem(void)
{
// Initialize libtool's dynamic library routines.
Library_Init();
#ifdef DENG_LIBRARY_DIR
// The default directory is defined in the Makefile. For instance, "/usr/local/lib".
Library_AddSearchDir(DENG_LIBRARY_DIR);
Expand Down Expand Up @@ -360,6 +358,8 @@ int main(int argc, char** argv)
isDedicated = ArgCheck("-dedicated");
novideo = ArgCheck("-novideo") || isDedicated;

Library_Init();

// Determine our basedir and other global paths.
determineGlobalPaths(&app);

Expand Down

0 comments on commit cfacf2c

Please sign in to comment.