I need this export in order to not have the wrapper.c fail to find Game() on linux
From this point on compilation and usage of library should work on linux, at least does for me :P
Name: hedgewars-server
Version: 0.1
Synopsis: hedgewars server
Description: hedgewars server
Homepage: http://www.hedgewars.org/
License: GPL-2
Author: unC0Rr
Maintainer: unC0Rr@hedgewars.org
Category: Game
Build-type: Simple
Cabal-version: >=1.2
Executable hedgewars-server
main-is: hedgewars-server.hs
Build-depends:
base >= 4,
unix,
containers,
array,
bytestring,
network-bytestring,
network,
time,
stm,
mtl,
dataenc,
hslogger,
process,
deepseq
ghc-options: -O2