mirror of https://github.com/adamdruppe/arsd.git
Merge pull request #461 from analogjupiter/despace
Fix tabs/space mixing in sdpy
This commit is contained in:
commit
0fce8ff5e5
|
|
@ -23141,9 +23141,10 @@ private mixin template DynamicLoad(Iface, string library, int majorVersion, alia
|
|||
libHandle = dlopen(library ~ ".dylib", RTLD_NOW);
|
||||
} else {
|
||||
libHandle = dlopen("lib" ~ library ~ ".so", RTLD_NOW);
|
||||
if(libHandle is null)
|
||||
if(libHandle is null) {
|
||||
libHandle = dlopen(("lib" ~ library ~ ".so." ~ toInternal!string(majorVersion) ~ "\0").ptr, RTLD_NOW);
|
||||
}
|
||||
}
|
||||
|
||||
static void* loadsym(void* l, const char* name) {
|
||||
import core.stdc.stdlib;
|
||||
|
|
|
|||
Loading…
Reference in New Issue