summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/extmk.rb.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index becabfc..34a9d0d 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -27,8 +27,7 @@ end
# get absolute path
$topdir = File.expand_path("..")
-$:.push $top_srcdir
-$:.push $top_srcdir+"/lib"
+$:.replace [$top_srcdir, $top_srcdir+"/lib", "."]
require 'find'