Skip to content

Commit 482df12

Browse files
committed
WIP
1 parent 536a571 commit 482df12

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/simple.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
ls c:/progra~1/postgr~1/17 || true
5151
ls c:/progra~1/postgr~1/16/lib || true
5252
ls c:/progra~1/postgr~1/17/lib || true
53+
54+
- name: More debug
55+
run:
56+
C:\ghcup\ghc\910~1.2\lib/../mingw//bin\clang.exe -o smalltest -IC:/PROGRA~1/POSTGR~1/17/include -LC:/PROGRA~1/POSTGR~1/17/lib small.c -lpq
5357

5458
- name: Checkout
5559
uses: actions/checkout@v4

postgresql-libpq-configure/configure

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,8 +1537,6 @@ eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15371537
printf "%s\n" "$ac_try_echo"; } >&5
15381538
echo "$ac_link"
15391539
echo "$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS"
1540-
ls /dependents C:/PROGRA~1/POSTGR~1/*/lib
1541-
ldd c:/progra~1/postgr~1/*/lib/pq.dll
15421540
(eval "$ac_link") || true
15431541
(eval "$ac_link") 2>conftest.err
15441542
ac_status=$?

small.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include <libpq-fe.h>
2+
3+
int main() {
4+
char conninfo[]="dbname = postgres";
5+
PGconn *conn;
6+
conn = PQconnectdb(conninfo);
7+
}

0 commit comments

Comments
 (0)