Skip to content

Commit 90045f2

Browse files
committed
Stop refusing to build on freebsd
1 parent 22a08a0 commit 90045f2

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)