# HG changeset patch # User jbe # Date 1581364078 -3600 # Node ID 16197a40c7a94216335bee445a559794d565f2e6 # Parent 1e72fa29d3fb79ef105729963bbefba23d76808e Removed -lc from flags for creating shared libraries (should no longer be necessary when using cc instead of ld) diff -r 1e72fa29d3fb -r 16197a40c7a9 Makefile.options --- a/Makefile.options Mon Feb 10 20:44:01 2020 +0100 +++ b/Makefile.options Mon Feb 10 20:47:58 2020 +0100 @@ -17,8 +17,7 @@ CFLAGS_PGSQL = -I `pg_config --includedir` -I `pg_config --pkgincludedir` -I `pg_config --includedir-server` # alternative C compiler flags for creating shared libraries -SHAREDFLAGS = -shared -L /usr/lib -L /usr/local/lib -lc -# NOTE: -lc needed on FreeBSD to avoid weird problems +SHAREDFLAGS = -shared -L /usr/lib -L /usr/local/lib # additional C compiler flags for creating shared libraries for parts which depend on PostgreSQL SHAREDFLAGS_PGSQL = -L `pg_config --libdir` -Wl,--rpath,`pg_config --libdir`