From f5f949553fcd57a1995df42ea026f1da4f3cf5bd Mon Sep 17 00:00:00 2001
From: Lyle Johnson <lyle@lylejohnson.name>
Date: Fri, 16 Oct 2009 16:10:03 -0500
Subject: [PATCH] Make the FXSCINTILLA_INSTALL_DIR setting platform-dependent

---
 Rakefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Rakefile b/Rakefile
index e469649..2a23ce2 100755
--- a/Rakefile
+++ b/Rakefile
@@ -6,7 +6,11 @@ require './lib/fox16/version.rb'
 
 # Some constants we'll need
 PKG_VERSION = Fox.fxrubyversion
-FXSCINTILLA_INSTALL_DIR = "~/src/fxscintilla-1.71/scintilla"
+if RUBY_PLATFORM =~ /mingw/
+  FXSCINTILLA_INSTALL_DIR = "c:/src/fxscintilla-1.71/scintilla"
+else
+  FXSCINTILLA_INSTALL_DIR = "~/src/fxscintilla-1.71/scintilla"
+end
 
 hoe = Hoe.spec "FXRuby" do
   # ... project specific data ...
-- 
GitLab