revert removal of ghcconfig.h from package.conf.in
authorRoss Paterson <ross@soi.city.ac.uk>
Sat, 12 Aug 2006 08:27:02 +0000 (08:27 +0000)
committerRoss Paterson <ross@soi.city.ac.uk>
Sat, 12 Aug 2006 08:27:02 +0000 (08:27 +0000)
as it's preprocessed with -undef (pointed out by Esa Ilari Vuokko)

package.conf.in

index 447345a..700d9a8 100644 (file)
@@ -1,3 +1,5 @@
+#include "ghcconfig.h"
+
 name:          PACKAGE
 version:       VERSION
 license:       BSD3
@@ -181,7 +183,7 @@ library-dirs:       LIB_DIR
 hs-libraries:   "HSbase"
 
 extra-libraries:  "HSbase_cbits"
-#if defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)
+#if defined(mingw32_HOST_OS) || defined(__MINGW32__) || defined(_MSC_VER)
             , "wsock32", "msvcrt", "kernel32", "user32", "shell32"
 #endif