1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Use teh shared library for building the examples
Author: Rafael Laboissiere <rafael@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
|