Merge branch 'master' of git://git.exim.org/exim
[users/heiko/exim.git] / src / OS / Makefile-Linux
index d933c056a541d0ef3837aa42205dd9535ad7bc8c..4fe2436a69885a335296e9991b585be23952f180 100644 (file)
@@ -1,4 +1,4 @@
-# $Cambridge: exim/src/OS/Makefile-Linux,v 1.1 2004/10/06 15:07:39 ph10 Exp $
+# $Cambridge: exim/src/OS/Makefile-Linux,v 1.4 2008/08/11 15:30:02 fanf2 Exp $
 
 # Exim: OS-specific make file for Linux. This is for modern Linuxes,
 # which use libc6.
@@ -8,13 +8,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