Support OS X

This commit is contained in:
rightfold 2017-01-17 12:20:52 +01:00
parent a8c34f37f9
commit 30c1b2b573

View File

@ -3,7 +3,7 @@ use v6;
use NativeCall;
module libpq {
constant LIBPQ = "libpq";
constant LIBPQ = $*DISTRO.is-win ?? "libpq" !! "pq";
sub PQconnectdb(Str --> Pointer[void]) is native(LIBPQ) {*}