Description: Allow compilation of Fortran 90 examples
Author: Rafael Laboissiere <rafael@debian.org>
Forwarded: no
Last-Update: 2016-10-09

--- librsb-1.2.0-rc5.orig/examples/make.sh
+++ librsb-1.2.0-rc5/examples/make.sh
@@ -15,18 +15,16 @@ do
 	$cmd
 done
 
-# replace false with true if you have built the Fortran modules and installed them in the include directory.
-if false ; then
 for s in *.F90
 do
 	p=${s/.F90/}
 	rm -f $p 
 	CFLAGS=`${LIBRSB_CONFIG} --I_opts`
-       	LDFLAGS=`${LIBRSB_CONFIG} --static --ldflags --extra_libs`
+       	LDFLAGS=`${LIBRSB_CONFIG} --ldflags --extra_libs`
 	FC=`${LIBRSB_CONFIG} --fc`
 	cmd="$FC $CFLAGS $s $LDFLAGS -o $p"
 	echo $cmd
 	$cmd
 done
-fi
+
 
