Patch imported from bugzilla 1031. Axel Rau.
[users/jgh/exim.git] / src / OS / Makefile-Linux
index d933c056a541d0ef3837aa42205dd9535ad7bc8c..8b721410e7b11a96a5206a75fe2059d8898abd18 100644 (file)
@@ -1,5 +1,3 @@
-# $Cambridge: exim/src/OS/Makefile-Linux,v 1.1 2004/10/06 15:07:39 ph10 Exp $
-
 # Exim: OS-specific make file for Linux. This is for modern Linuxes,
 # which use libc6.
 
@@ -8,13 +6,15 @@ HAVE_ICONV=yes
 BASENAME_COMMAND=look_for_it
 CHOWN_COMMAND=look_for_it
 CHGRP_COMMAND=look_for_it
+CHMOD_COMMAND=look_for_it
 
 CFLAGS=-O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+CFLAGS_DYNAMIC=-shared -rdynamic
 
 DBMLIB = -ldb
 USE_DB = yes
 
-LIBS = -lnsl -lcrypt
+LIBS = -lnsl -lcrypt -lm
 LIBRESOLV = -lresolv
 
 X11=/usr/X11R6