summaryrefslogtreecommitdiff
path: root/ext/win32-eventlog/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'ext/win32-eventlog/Rakefile')
-rw-r--r--ext/win32-eventlog/Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/win32-eventlog/Rakefile b/ext/win32-eventlog/Rakefile
index eaa0c81994..3112c27e8e 100644
--- a/ext/win32-eventlog/Rakefile
+++ b/ext/win32-eventlog/Rakefile
@@ -1,7 +1,6 @@
require 'rubygems'
require 'rake'
require 'mkmf'
-require 'win32/eventlog'
desc "Building event log dll"
@@ -40,6 +39,7 @@ file EVT_SHARED_OBJECT => EVT_RESOURCE_OBJECT do
end
task :register => EVT_SHARED_OBJECT do
+ require 'win32/eventlog'
dll_file = File.expand_path(EVT_SHARED_OBJECT)
Win32::EventLog.add_event_source(
:source => "Application",