webmcp
changeset 555:16197a40c7a9
Removed -lc from flags for creating shared libraries (should no longer be necessary when using cc instead of ld)
author | jbe |
---|---|
date | Mon Feb 10 20:47:58 2020 +0100 (2020-02-10) |
parents | 1e72fa29d3fb |
children | c228db239964 |
files | Makefile.options |
line diff
1.1 --- a/Makefile.options Mon Feb 10 20:44:01 2020 +0100 1.2 +++ b/Makefile.options Mon Feb 10 20:47:58 2020 +0100 1.3 @@ -17,8 +17,7 @@ 1.4 CFLAGS_PGSQL = -I `pg_config --includedir` -I `pg_config --pkgincludedir` -I `pg_config --includedir-server` 1.5 1.6 # alternative C compiler flags for creating shared libraries 1.7 -SHAREDFLAGS = -shared -L /usr/lib -L /usr/local/lib -lc 1.8 -# NOTE: -lc needed on FreeBSD to avoid weird problems 1.9 +SHAREDFLAGS = -shared -L /usr/lib -L /usr/local/lib 1.10 1.11 # additional C compiler flags for creating shared libraries for parts which depend on PostgreSQL 1.12 SHAREDFLAGS_PGSQL = -L `pg_config --libdir` -Wl,--rpath,`pg_config --libdir`