aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure b/configure
index 31216a7..96f9ee0 100755
--- a/configure
+++ b/configure
@@ -115,14 +115,15 @@ disabled shared && disabled static && {
115 115
116# simple cc test 116# simple cc test
117cat > /tmp/test.c << EOF 117cat > /tmp/test.c << EOF
118int function(void) 118#include <windows.h>
119{ return 0; } 119void function(void)
120{ LoadLibrary(NULL); }
120EOF 121EOF
121$cc -shared -o /tmp/test.dll /tmp/test.c 122$cc -shared -o /tmp/test.dll /tmp/test.c
122 123
123test "$?" = !0 && { 124test "$?" = !0 && {
124 echo "$cc could not create shared file."; 125 echo "$cc could not create shared file with Windows API functions.";
125 echo "Make sure your system is working properly."; 126 echo "Make sure your MinGW system is working properly.";
126 exit 1; 127 exit 1;
127} 128}
128 129