From a0d59739f6d0f31518ad35c1d1dfa0165d98ba12 Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Sat, 12 Aug 2006 08:27:02 +0000 Subject: [PATCH] revert removal of ghcconfig.h from package.conf.in as it's preprocessed with -undef (pointed out by Esa Ilari Vuokko) --- package.conf.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.conf.in b/package.conf.in index 447345a..700d9a8 100644 --- a/package.conf.in +++ b/package.conf.in @@ -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 -- 1.7.10.4