* Use an older glibc so resulting binaries can run on older systems (without having to link statically against glibc) * Call packages static-compat-* to make it clear that these packages are intended for compatibility with older distributions * Add further libraries to get static-compat-qt6-base and some other static-compat-qt6-* packages building
14 lines
455 B
Diff
14 lines
455 B
Diff
diff --git a/tool/lemon.c b/tool/lemon.c
|
|
index 54c8946..ac14a06 100644
|
|
--- a/tool/lemon.c
|
|
+++ b/tool/lemon.c
|
|
@@ -3668,6 +3668,8 @@ PRIVATE FILE *tplt_open(struct lemon *lemp)
|
|
tpltname = buf;
|
|
}else if( access(templatename,004)==0 ){
|
|
tpltname = templatename;
|
|
+ }else if( access("/usr/share/lemon/lempar.c", R_OK)==0){
|
|
+ tpltname = "/usr/share/lemon/lempar.c";
|
|
}else{
|
|
toFree = tpltname = pathsearch(lemp->argv0,templatename,0);
|
|
}
|