From f244cc515447f8fb7d2f10038e88636cf9cf5068 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 20 Feb 2011 15:01:37 +0100 Subject: [PATCH] tour.texi compilation fix * doc/ref/tour.texi (Writing Guile Extensions): Fix compilation example. --- doc/ref/tour.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/ref/tour.texi b/doc/ref/tour.texi index 312984683..c6949eb34 100644 --- a/doc/ref/tour.texi +++ b/doc/ref/tour.texi @@ -163,7 +163,8 @@ This C source file needs to be compiled into a shared library. Here is how to do it on GNU/Linux: @smallexample -gcc -shared -o libguile-bessel.so -fPIC bessel.c +gcc `pkg-config --cflags guile-@value{EFFECTIVE-VERSION}` \ + -shared -o libguile-bessel.so -fPIC bessel.c @end smallexample For creating shared libraries portably, we recommend the use of GNU