Skip to content

Commit 04b7dba

Browse files
authored
Merge pull request #62 from apbryan/add-freebsd
Stop refusing to build on freebsd
2 parents 22a08a0 + 90045f2 commit 04b7dba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/redub/plugin/load.d

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ string getDynamicLibraryName(string dynamicLibPath)
173173
return buildNormalizedPath(dir, name~".dll");
174174
else version(linux)
175175
return buildNormalizedPath(dir, "lib"~name~".so");
176+
else version(FreeBSD)
177+
return buildNormalizedPath(dir, "lib"~name~".so");
176178
else version(OSX)
177179
return buildNormalizedPath(dir, "lib"~name~".dylib");
178180
else static assert(false, "No support for dynamic libraries on that OS.");
179-
}
181+
}

0 commit comments

Comments
 (0)