[Pkg-haskell-commits] darcs: haskell-dpkg: Build with	--disable-shared,	as libdpkg-dev can only be used to build static libraries, it seems.
    Joachim Breitner 
    mail at joachim-breitner.de
       
    Tue Dec 23 21:52:20 UTC 2014
    
    
  
Tue Dec 23 21:43:41 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Build with --disable-shared, as libdpkg-dev can only be used to build static libraries, it seems. 
    M ./changelog +2
    M ./rules +4
Tue Dec 23 21:43:41 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Build with --disable-shared, as libdpkg-dev can only be used to build static libraries, it seems. 
diff -rN -u old-haskell-dpkg/changelog new-haskell-dpkg/changelog
--- old-haskell-dpkg/changelog	2014-12-23 21:52:20.291102416 +0000
+++ new-haskell-dpkg/changelog	2014-12-23 21:52:20.295102414 +0000
@@ -2,6 +2,8 @@
 
   * Adjust watch file to new hackage layout
   * Depend on haskell-devscripts 0.9, found in experimental
+  * Build with --disable-shared, as libdpkg-dev can only be used to build
+    static libraries, it seems. 
 
  -- Joachim Breitner <nomeata at debian.org>  Sat, 05 Oct 2013 18:20:11 +0200
 
diff -rN -u old-haskell-dpkg/rules new-haskell-dpkg/rules
--- old-haskell-dpkg/rules	2014-12-23 21:52:20.291102416 +0000
+++ new-haskell-dpkg/rules	2014-12-23 21:52:20.291102416 +0000
@@ -1,4 +1,8 @@
 #!/usr/bin/make -f
 
+# libdpkg-dev only provides a .a file, which cannot
+# be linked into a .so file, it seems.
+DEB_SETUP_GHC_CONFIGURE_ARGS += --disable-shared
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk
    
    
More information about the Pkg-haskell-commits
mailing list