]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_main.C
Fix my breakage. Sorry guys.
[lyx.git] / src / lyx_main.C
index 74a403223d8f900d0c3101fbfa36288dacd65bb0..3ce8b506d1b14b7356b3fac16476099624fd7454 100644 (file)
@@ -401,8 +401,8 @@ void LyX::init(bool gui)
 #if !defined (USE_POSIX_PACKAGING)
        // Add the directory containing the LyX executable to the path
        // so that LyX can find things like reLyX.
-       if (package.build_support().empty())
-               prependEnvPath("PATH", package.binary_dir());
+       if (package().build_support().empty())
+               prependEnvPath("PATH", package().binary_dir());
 #endif
 
        // Check that user LyX directory is ok. We don't do that if