diff --git a/postgres-native-sqldelight-driver/src/nativeInterop/cinterop/libpq.def b/postgres-native-sqldelight-driver/src/nativeInterop/cinterop/libpq.def index feae756..6a467fe 100644 --- a/postgres-native-sqldelight-driver/src/nativeInterop/cinterop/libpq.def +++ b/postgres-native-sqldelight-driver/src/nativeInterop/cinterop/libpq.def @@ -4,5 +4,7 @@ package = libpq #staticLibraries = libpq.a #libraryPaths = /opt/homebrew/opt/libpq/lib -compilerOpts = -I/home/linuxbrew/.linuxbrew/opt/libpq/include -I/opt/homebrew/opt/libpq/include -I/usr/local/opt/libpq/include -I/usr/include -linkerOpts = -L/home/linuxbrew/.linuxbrew/opt/libpq/lib -L/opt/homebrew/opt/libpq/lib -L/usr/local/opt/libpq/lib -L/usr/lib64 -lpq +compilerOpts = -I/home/linuxbrew/.linuxbrew/opt/libpq/include -I/opt/homebrew/opt/libpq/include -I/usr/local/opt/libpq/include +compilerOpts.linux_x64 = -I/usr/include +linkerOpts = -L/home/linuxbrew/.linuxbrew/opt/libpq/lib -L/opt/homebrew/opt/libpq/lib -L/usr/local/opt/libpq/lib -lpq +linkerOpts.linux_x64 = -L/usr/lib64 -lpq