Skip to content

Commit bf64dd2

Browse files
committed
gcc in /mingw64 finds no libs in /msys64/mingw64
It mystifies me why building a PL/Java *shared* object on Windows requires being able to find a libpostgres.a *static* archive, but such are the rules that were copied over to the JS build scheme. What goes wrong if the -L$PKGLIBDIR and -lpostgres just aren't there?
1 parent 5272638 commit bf64dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pljava-so/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ var configuration = [
268268
l.addAll(files);
269269
270270
// From compiler-mingw64 profile
271-
l.addAll(of("-L" + pkglibdir, "-Bdynamic", "-lpostgres"));
271+
l.addAll(of("-Bdynamic"));
272272
});
273273
linkingProcess.directory(target_path.toFile());
274274
return runWindowsCRuntimeCommand(linkingProcess);

0 commit comments

Comments
 (0)