Skip to content

Commit

Permalink
use full lib name
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed May 12, 2013
1 parent 583f6b6 commit 5da2b9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mars.c
Expand Up @@ -461,7 +461,9 @@ int tryMain(size_t argc, char *argv[])
#if TARGET_WINDOS
global.params.is64bit = 0;
global.params.defaultlibname = "phobos";
#elif TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_SOLARIS
#elif TARGET_LINUX
global.params.defaultlibname = "libphobos2.a";
#elif TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_SOLARIS
global.params.defaultlibname = "phobos2";
#else
#error "fix this"
Expand Down

0 comments on commit 5da2b9d

Please sign in to comment.