From 75dd697444ada4d915b0df23cf30d6758a03a335 Mon Sep 17 00:00:00 2001 From: Roland Heyder Date: Fri, 9 Feb 2024 18:29:11 +0100 Subject: [PATCH] Fix external dependencies checks - exclude DECLARE LIBRARY files loaded w/o path from predefined system locations --- source/qb64pe.bas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/qb64pe.bas b/source/qb64pe.bas index 55e2dce03..a0db1a4d6 100644 --- a/source/qb64pe.bas +++ b/source/qb64pe.bas @@ -4754,7 +4754,7 @@ DO mylib$ = mylib$ + " ../../" + libname$ + " " END IF END IF - WriteBufLine ExtDepBuf, "DECL: " + _FULLPATH$(libname$) + IF _FILEEXISTS(libname$) THEN WriteBufLine ExtDepBuf, "DECL: " + _FULLPATH$(libname$) END IF ELSE @@ -4779,7 +4779,7 @@ DO IF ASC(x2$, x2) > 122 THEN ASC(x2$, x2) = 95 NEXT DLLname$ = x2$ - WriteBufLine ExtDepBuf, "DECL: " + _FULLPATH$(libname$) + IF _FILEEXISTS(libname$) THEN WriteBufLine ExtDepBuf, "DECL: " + _FULLPATH$(libname$) IF sfdeclare THEN @@ -4812,7 +4812,7 @@ DO ELSE WriteBufLine RegTxtBuf, "#include " + CHR$(34) + "../../" + headername$ + CHR$(34) END IF - WriteBufLine ExtDepBuf, "DECL: " + _FULLPATH$(headername$) + IF _FILEEXISTS(headername$) THEN WriteBufLine ExtDepBuf, "DECL: " + _FULLPATH$(headername$) END IF END IF