Created
September 2, 2016 03:20
-
-
Save mattn/84cae0c8cb90d01c0f5276fd177257c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- extconf.rb.orig 2016-09-02 12:20:07.096771900 +0900 | |
+++ extconf.rb 2016-09-02 12:20:09.449007100 +0900 | |
@@ -46,7 +46,7 @@ | |
check_heads(%w[windows.h winsock.h], true) | |
check_libs(%w[kernel32 rpcrt4 gdi32], true) | |
- if GNU_CHAIN | |
+ if Object.const_defined?(:GNU_CHAIN) | |
CONFIG['LDSHARED'] = "$(CXX) -shared -lstdc++" | |
else | |
$defs.push "-EHs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment