Created
October 29, 2012 12:01
-
-
Save 573/3973185 to your computer and use it in GitHub Desktop.
Needed changes to Setup.hs of wxcore-0.13.2.3 for non-unicode, to make wx-config running.
This file contains hidden or 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
--- D:\temp\wxcore-0.13.2.3\Setup.hs Mon Oct 29 11:26:28 2012 | |
+++ C:\Users\daniel\AppData\Local\Temp\VIB57C3.tmp Mon Oct 29 11:57:21 2012 | |
@@ -50,11 +50,11 @@ | |
-- ver <- fmap (head . drop 1 . splitBy (== '.')) (readProcess "wx-config" ["--version"] "") | |
let extra_wx_libs = if os == "mingw32" | |
- then [ "-lwxmsw28ud_media", "-lwxmsw28ud_richtext", "-lwxmsw28ud_aui" | |
- , "-lwxmsw28ud_xrc", "-lstdc++" ] | |
+ then [ "-lwxmsw28_media", "-lwxmsw28_richtext", "-lwxmsw28_aui" | |
+ , "-lwxmsw28_xrc", "-lstdc++" ] | |
else [ "-lstdc++" ] | |
wx_cfg_parms = if os == "mingw32" | |
- then [ "--unicode", "--libs", "gl,stc", "--cppflags" ] | |
+ then [ "--libs", "gl,stc", "--cppflags" ] | |
else [ "--libs", "std,gl,stc,xrc,richtext,aui,media", "--cppflags" ] | |
wx <- fmap parseWxConfig (readProcess "wx-config" wx_cfg_parms "") | |
lbi <- confHook simpleUserHooks (pkg0, pbi) flags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment