webmcp

changeset 540:d0104bb90ede

Add -lc to LDFLAGS to avoid weird problems on FreeBSD
author jbe
date Sat Oct 12 20:35:00 2019 +0200 (2019-10-12)
parents 5a6e04f8220b
children 72e55c2eb63c
files Makefile.options
line diff
     1.1 --- a/Makefile.options	Tue Apr 02 00:02:34 2019 +0200
     1.2 +++ b/Makefile.options	Sat Oct 12 20:35:00 2019 +0200
     1.3 @@ -20,7 +20,8 @@
     1.4  CFLAGS_PGSQL = -I `pg_config --includedir` -I `pg_config --pkgincludedir` -I `pg_config --includedir-server`
     1.5  
     1.6  # linker flags
     1.7 -LDFLAGS = -shared -L /usr/lib -L /usr/local/lib
     1.8 +LDFLAGS = -shared -L /usr/lib -L /usr/local/lib -lc
     1.9 +# NOTE: -lc needed on FreeBSD to avoid weird problems
    1.10  
    1.11  # additional linker flags for parts which depend on PostgreSQL
    1.12  LDFLAGS_PGSQL = -L `pg_config --libdir` -rpath `pg_config --libdir`

Impressum / About Us