Created
October 5, 2012 09:35
-
-
Save mattn/3838946 to your computer and use it in GitHub Desktop.
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
| diff --git a/Makefile.PL b/Makefile.PL | |
| index 12fa302..6818e15 100644 | |
| --- a/Makefile.PL | |
| +++ b/Makefile.PL | |
| @@ -60,7 +60,8 @@ elsif ($^O eq 'sunos' || $^O eq 'solaris') { | |
| cc_libs 'm', 'socket', 'nsl', 'kstat', 'pthreads'; | |
| } | |
| elsif ($^O eq 'MSWin32') { | |
| - cc_libs 'm', 'ws2_32'; | |
| + cc_append_to_ccflags '-D_WIN32_WINNT=0x600'; | |
| + cc_libs 'm', 'ws2_32', 'psapi', 'iphlpapi', 'kernel32'; | |
| } | |
| else { | |
| die "$^O is unsupported at this point\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment