a
[apps/madtty.git] / rote-config.in
index f5728af..cb9a119 100644 (file)
@@ -5,6 +5,7 @@ exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
 version=@PACKAGE_VERSION@
+libs=@LIBS@
 
 if test $# -eq 0; then
    echo "Usage: rote-config [--cflags] [--libs]"
@@ -18,7 +19,7 @@ while test $# -gt 0; do
          echo "-I$includedir"
          ;;
       --libs)
-         echo "-L$libdir -lrote"
+         echo "$libs -L$libdir -lrote"
          ;;
       --version)
          echo "ROTE version $version"