Ticket #7921: 0001-Add-pthread-to-extra-libraries-in-cabal-file.patch

File 0001-Add-pthread-to-extra-libraries-in-cabal-file.patch, 672 bytes (added by SimonHengel, 22 months ago)
  • unix.cabal

    From 27a812f657205501f0f72d5c17e831fe0634bf48 Mon Sep 17 00:00:00 2001
    From: Simon Hengel <[email protected]>
    Date: Mon, 20 May 2013 14:46:35 +0200
    Subject: [PATCH] Add pthread to extra-libraries in cabal file
    
    See: https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
    ---
     unix.cabal | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/unix.cabal b/unix.cabal
    index 7261f99..849e053 100644
    a b Library 
    9393    install-includes: 
    9494        HsUnix.h HsUnixConfig.h execvpe.h 
    9595    c-sources:  cbits/HsUnix.c cbits/execvpe.c cbits/dirUtils.c 
     96    extra-libraries: pthread 
    9697 
    9798source-repository head 
    9899    type:     git