summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-06-04 22:02:55 +0000
committerDavid Robillard <d@drobilla.net>2010-06-04 22:02:55 +0000
commita05da19d69de8077d8db8ef82185d68195130cde (patch)
tree886388e7faf656952b069568cf305d7b370aabf0
parente545ff3c79ac7df5ce59e4ee90d8411917077f0c (diff)
downloadingen-a05da19d69de8077d8db8ef82185d68195130cde.tar.gz
ingen-a05da19d69de8077d8db8ef82185d68195130cde.tar.bz2
ingen-a05da19d69de8077d8db8ef82185d68195130cde.zip
Fix module loading on non-Apple (oops).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2578 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/shared/runtime_paths.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/runtime_paths.cpp b/src/shared/runtime_paths.cpp
index a65131fb..17a62e43 100644
--- a/src/shared/runtime_paths.cpp
+++ b/src/shared/runtime_paths.cpp
@@ -97,8 +97,8 @@ module_path(const std::string& name)
// MacPorts glib doesnt seem to do portable path building correctly...
if (ret.substr(ret.length() - 3) == ".so")
ret = ret.substr(0, ret.length() - 2).append("dylib");
- return ret;
#endif
+ return ret;
}