Otherwise, I see no possibility to solve the following problem without such a function:
Code: Select all
CompilerIf FileExists("/usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0")
; Debian Linux
#WEBKIT_LIB_PATH$ = "/usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so.0"
CompilerElseIf FileExists("/usr/lib/libwebkitgtk-3.0.so.0")
; Arch Linux
#WEBKIT_LIB_PATH$ = "/usr/lib/libwebkitgtk-3.0.so.0"
CompilerEndIf
ImportC #WEBKIT_LIB_PATH$
; ...
EndImport