[commit: packages/Win32] fix-appveyor-curl-ussue, master: Update cabal file to 1.10 format (#81) (41d4bff)
git at git.haskell.org
git at git.haskell.org
Mon Apr 17 21:28:54 UTC 2017
Repository : ssh://git@git.haskell.org/Win32
On branches: fix-appveyor-curl-ussue,master
Link : http://git.haskell.org/packages/Win32.git/commitdiff/41d4bff11de78456160b8cebba7f2fce68aa8682
>---------------------------------------------------------------
commit 41d4bff11de78456160b8cebba7f2fce68aa8682
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Tue Mar 21 12:10:29 2017 +0100
Update cabal file to 1.10 format (#81)
>---------------------------------------------------------------
41d4bff11de78456160b8cebba7f2fce68aa8682
Win32.cabal | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/Win32.cabal b/Win32.cabal
index 691625d..b36a223 100644
--- a/Win32.cabal
+++ b/Win32.cabal
@@ -11,13 +11,18 @@ category: System, Graphics
synopsis: A binding to part of the Win32 library
description: A binding to part of the Win32 library.
build-type: Simple
-cabal-version: >=1.6
+cabal-version: >=1.10
extra-source-files:
include/diatemp.h include/dumpBMP.h include/ellipse.h include/errors.h
include/Win32Aux.h include/win32debug.h include/alignment.h
changelog.md
Library
+ default-language: Haskell2010
+ default-extensions: ForeignFunctionInterface, CPP
+ if impl(ghc >= 7.1)
+ default-extensions: NondecreasingIndentation
+
if !os(windows)
-- This package requires Windows to build
build-depends: unbuildable<0
@@ -95,9 +100,6 @@ Library
System.Win32.Utils
System.Win32.Word
- extensions: ForeignFunctionInterface, CPP
- if impl(ghc >= 7.1)
- extensions: NondecreasingIndentation
extra-libraries:
"user32", "gdi32", "winmm", "advapi32", "shell32", "shfolder", "shlwapi", "msimg32", "imm32"
ghc-options: -Wall
More information about the ghc-commits
mailing list