# HG changeset patch # User jbe # Date 1570905300 -7200 # Node ID d0104bb90ede8a01a016767cd448548f7d446479 # Parent 5a6e04f8220baf315e432afda5de36e3b2d303bf Add -lc to LDFLAGS to avoid weird problems on FreeBSD diff -r 5a6e04f8220b -r d0104bb90ede Makefile.options --- a/Makefile.options Tue Apr 02 00:02:34 2019 +0200 +++ b/Makefile.options Sat Oct 12 20:35:00 2019 +0200 @@ -20,7 +20,8 @@ CFLAGS_PGSQL = -I `pg_config --includedir` -I `pg_config --pkgincludedir` -I `pg_config --includedir-server` # linker flags -LDFLAGS = -shared -L /usr/lib -L /usr/local/lib +LDFLAGS = -shared -L /usr/lib -L /usr/local/lib -lc +# NOTE: -lc needed on FreeBSD to avoid weird problems # additional linker flags for parts which depend on PostgreSQL LDFLAGS_PGSQL = -L `pg_config --libdir` -rpath `pg_config --libdir`