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