aboutsummaryrefslogtreecommitdiffstats
path: root/tool/mkconfig.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/mkconfig.rb')
-rwxr-xr-xtool/mkconfig.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index d725fe0929..116791dafe 100755
--- a/tool/mkconfig.rb
+++ b/tool/mkconfig.rb
@@ -4,7 +4,7 @@
$install_name ||= nil
$so_name ||= nil
-srcdir = File.expand_path('..', File.dirname(__FILE__))
+srcdir = File.expand_path('../..', __FILE__)
$:.replace [srcdir+"/lib"] unless defined?(CROSS_COMPILING)
$:.unshift(".")