瀏覽代碼

* Fix the location where the .cod-files are installed on unices.

git-svn-id: trunk@35775 -
joost 8 年之前
父節點
當前提交
2aa623964e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      utils/tply/fpmake.pp

+ 1 - 1
utils/tply/fpmake.pp

@@ -77,7 +77,7 @@ begin
       begin
       // Do not install these files when performing a cross-installation
       if Defaults.OS in AllUnixOSes then
-        lexyaccpath:='$(prefix)lib/fpc/lexyacc'
+        lexyaccpath:='$(baseinstalldir)../lexyacc'
       else
         lexyaccpath:='$(bininstalldir)';
       P.InstallFiles.Add('yylex.cod',lexyaccpath);