Changeset 1305

Show
Ignore:
Timestamp:
11/19/08 10:06:22 (16 months ago)
Author:
ahu
Message:

fix PostgreSQL linking on FreeBSD, closing ticket 95, by Wouter de Jong

Location:
trunk/pdns
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/configure.in

    r1293 r1305  
    516516        done 
    517517        modulelibs="$modulelibs `cat $srcdir/modules/${a}backend/OBJECTLIBS`" 
     518 
     519        if test ${a} == "gpgsql"; then 
     520                case "$host_os" in 
     521                freebsd*) 
     522                        ;; 
     523                *) 
     524                        modulelibs="$modulelibs -lresolv -lnsl" 
     525                        ;; 
     526                esac 
     527        fi 
    518528done 
    519529 
  • trunk/pdns/modules/gpgsqlbackend/OBJECTLIBS

    r217 r1305  
    1 -lpq -lssl -lcrypto  -lcrypt -lresolv -lnsl  
     1-lpq -lssl -lcrypto  -lcrypt  
    22 
    33