]> git.lyx.org Git - lyx.git/blobdiff - src/support/Package.cpp
TR1: check in cmake for GCC version, fallback in checktr1.h for other build systems...
[lyx.git] / src / support / Package.cpp
index 6939dc77c7aae9c592c9d2c2b9f98ab556cc9410..d947f9ae80a8996e095a5b5abb77483c4821e321 100644 (file)
@@ -394,7 +394,7 @@ FileName const get_binary_path(string const & exe)
 
        // 2. exe must be the name of the binary only and it
        // can be found on the PATH.
-       string const exe_name = onlyFilename(exe_path);
+       string const exe_name = onlyFileName(exe_path);
        if (exe_name != exe_path)
                return FileName();