[librsb] 02/03: d/p/use-shared-lib.patch: New patch

Rafael Laboissiere rafael at debian.org
Sat Oct 8 15:46:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

rafael pushed a commit to branch master
in repository librsb.

commit 36934f4aeb4b1ff2f8e5e2830325812213c5a576
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sat Oct 8 08:18:49 2016 -0300

    d/p/use-shared-lib.patch: New patch
---
 debian/patches/series               |  1 +
 debian/patches/use-shared-lib.patch | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f3be727
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-shared-lib.patch
diff --git a/debian/patches/use-shared-lib.patch b/debian/patches/use-shared-lib.patch
new file mode 100644
index 0000000..b7d9d4c
--- /dev/null
+++ b/debian/patches/use-shared-lib.patch
@@ -0,0 +1,16 @@
+Description: Use teh shared library for building the examples
+Author: Rafael Laboissiere <rafael at debian.org>
+Forwarded: no
+Last-Update: 2016-10-08
+
+--- librsb-1.2.0-rc5.orig/examples/make.sh
++++ librsb-1.2.0-rc5/examples/make.sh
+@@ -8,7 +8,7 @@ do
+ 	p=${s/.c/}
+ 	rm -f $p 
+ 	CFLAGS=`${LIBRSB_CONFIG} --I_opts`
+-       	LDFLAGS=`${LIBRSB_CONFIG} --static --ldflags --extra_libs`
++       	LDFLAGS=`${LIBRSB_CONFIG} --ldflags --extra_libs`
+ 	CC=`${LIBRSB_CONFIG} --cc`
+ 	cmd="$CC $CFLAGS $s $LDFLAGS -o $p"
+ 	echo $cmd

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/librsb.git



More information about the debian-science-commits mailing list