[Debian-islamic-commits] [SCM] Packaging for libitl branch, master, updated. debian/0.7.0-2-7-gdf2ef03

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at sabily.org
Fri May 6 09:09:47 UTC 2011


The following commit has been merged in the master branch:
commit 525da63ba87457896c6d3708a004b47ec6a34f96
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date:   Wed May 4 13:35:05 2011 +0200

    debian/patches/01_Makefile.in.diff: Add -Wl before linker options

diff --git a/debian/patches/01_Makefile.in.diff b/debian/patches/01_Makefile.in.diff
index b63423f..b02a051 100644
--- a/debian/patches/01_Makefile.in.diff
+++ b/debian/patches/01_Makefile.in.diff
@@ -1,4 +1,6 @@
-LDFLAGS contains -Wl, which causes $(LD) to fail, hence use $(CC) instead.
+Description: LDFLAGS contains -Wl, which causes $(LD) to fail, hence use $(CC) 
+ instead. Also add -Wl before other linker options.
+Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
 --- libitl-0.7.0.orig/Makefile.in
 +++ libitl-0.7.0/Makefile.in
 @@ -35,7 +35,7 @@
@@ -6,7 +8,7 @@ LDFLAGS contains -Wl, which causes $(LD) to fail, hence use $(CC) instead.
  
  build/libitl.so: components
 -	$(LD) build/*.o $(LDFLAGS) -shared -lm -lc -soname=$(SONAME) -o build/$(FULLNAME)
-+	$(CC) build/*.o $(LDFLAGS) -shared -lm -lc -soname=$(SONAME) -o build/$(FULLNAME)
++	$(CC) build/*.o $(LDFLAGS) -Wl,-shared -Wl,-lm -Wl,-lc -Wl,-soname=$(SONAME) -o build/$(FULLNAME)
  	(cd build/ && ln -sf $(FULLNAME) $(SONAME))
  	(cd build/ && ln -sf $(FULLNAME) libitl.so)
  

-- 
Packaging for libitl



More information about the Debian-islamic-commits mailing list