X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/717226c9c9bf77c0a8698789ae14628c7039b801..d895ad7c5401c37fb561f30244621749303da4e6:/wx-config.in diff --git a/wx-config.in b/wx-config.in index 6b59a40106..16ad73e222 100755 --- a/wx-config.in +++ b/wx-config.in @@ -36,7 +36,7 @@ while test $# -gt 0; do echo $exec_prefix ;; --version) - echo @WX_MAJOR_VERSION_NUMBER@.@WX_MINOR_VERSION_NUMBER@ + echo @WX_MAJOR_VERSION_NUMBER@.@WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@ ;; --cflags) if test @includedir@ != /usr/include ; then @@ -44,14 +44,14 @@ while test $# -gt 0; do includes=-I@includedir@ fi fi - includes="$includes -I@includedir@ -I@datadir@/@PACKAGE@/include" - echo $includes @WXDEBUG_DEFINE@ @TOOLKIT_DEF@ @TOOLKIT_INCLUDE@ + includes="$includes -I@libdir@/wx/include" + echo $includes @WXDEBUG_DEFINE@ @TOOLKIT_DEF@ ;; --libs) if test @libdir@ != /usr/lib ; then libs="-L@libdir@" fi - echo $libs -lwx_@WX_LIBRARY@ @EXTRA_LIBS@ + echo $libs -l@WX_LIBRARY@ @EXTRA_LIBS@ ;; *) echo "${usage}" 1>&2