Browse Source

fix --version to work without pkg-config

Dave Beckett 8 years ago
parent
commit
16875ab8aa
1 changed files with 2 additions and 1 deletions
  1. 2 1
      redland-config.in

+ 2 - 1
redland-config.in

@@ -74,7 +74,8 @@ while test $# -gt 0; do
       args="$args --variable=swig";
       ;;
     --version)
-      args="$args --modversion";
+      echo @VERSION@
+      exit 0
       ;;
     --private-libs)
       args="$args --static --libs";