The following commit has been merged in the master branch:
commit c5383dd805e57a7ad1c48fff27c3524aa9010195
Author: Patrick Winnertz <win...@debian.org>
Date:   Thu Aug 6 11:59:02 2009 +0200

    Place -lpthread on the right place when linking
    
    Signed-off-by: Patrick Winnertz <win...@debian.org>

diff --git a/debian/patches/series b/debian/patches/series
index 859abf8..1cad2ca 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -26,4 +26,5 @@ e2fsprogs-e2freefrag.patch
 e2fsprogs-lustre_ismounted.patch
 e2fsprogs-lfsck.patch 
 e2fsprogs-add-io_channel_readahead.patch
-e2fsprogs-e2scan.patch 
+e2fsprogs-e2scan.patch
+static-linking.patch 
diff --git a/debian/patches/static-linking.patch 
b/debian/patches/static-linking.patch
new file mode 100644
index 0000000..5d05029
--- /dev/null
+++ b/debian/patches/static-linking.patch
@@ -0,0 +1,13 @@
+diff --git a/e2fsck/Makefile.in b/e2fsck/Makefile.in
+index 360013e..2f65d99 100644
+--- a/e2fsck/Makefile.in
++++ b/e2fsck/Makefile.in
+@@ -118,7 +118,7 @@ e2fsck: $(OBJS)  $(DEPLIBS)
+ 
+ e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
+       @echo " LD $@"
+-      @$(LD) $(LDFLAGS_STATIC) -o e2fsck.static $(OBJS) $(STATIC_LIBS) 
++      @$(LD) $(LDFLAGS_STATIC) -o e2fsck.static $(OBJS) $(STATIC_LIBS) 
-lpthread
+ 
+ e2fsck.profiled: $(PROFILED_OBJS)  $(PROFILED_DEPLIBS)
+       @echo " LD $@"

-- 
Repository for maintaining lidskfsprogs

_______________________________________________
Pkg-lustre-svn-commit mailing list
Pkg-lustre-svn-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-lustre-svn-commit

Reply via email to