ImportC MariaDB
Posted: Thu Apr 22, 2021 10:47 am
Hello
What is the correct import for libmariadb on macOS?
Thank you, any help appreciated.
What is the correct import for libmariadb on macOS?
Code: Select all
CompilerIf #PB_Compiler_OS = #PB_OS_Windows
Import "libmariadb.lib"
mysql_init(dbHwnd)
; ...
EndImport
CompilerElseIf #PB_Compiler_OS = #PB_OS_MacOS
ImportC "*** WHAT COMES HERE? TRIED -lmariadb, -libmariadb, -lmysql; NONE OF THEM WORKED ***"
mysql_init(dbHwnd)
; ...
EndImport
CompilerEndIf