From a05da19d69de8077d8db8ef82185d68195130cde Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Fri, 4 Jun 2010 22:02:55 +0000
Subject: Fix module loading on non-Apple (oops).

git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2578 a436a847-0d15-0410-975c-d299462d15a1
---
 src/shared/runtime_paths.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/shared')

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;
 }
 
 
-- 
cgit v1.2.1