summaryrefslogtreecommitdiffstats
path: root/system/mdocml/patches/00-Makefile_Linux.diff
blob: 4f411d6b80ad35003e740d26379281a25687d2ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.orig	2014-01-06 15:05:19.565762653 +0100
+++ Makefile	2014-01-06 15:05:28.701192221 +0100
@@ -29,7 +29,7 @@ CFLAGS	 	+= -DUSE_WCHAR
 # for example on Mac OS X.
 STATIC		 = -static
 # Linux requires -pthread to statically link with libdb.
-#STATIC		+= -pthread
+STATIC		+= -pthread
 
 CFLAGS		+= -g -DHAVE_CONFIG_H
 CFLAGS     	+= -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
@@ -54,7 +54,7 @@ INSTALL_MAN	 = $(INSTALL_DATA)
 # However, if you don't have -ldb at all (or it's not native), then
 # comment out apropos and mandocdb. 
 #
-#DBLIB		 = -ldb
+DBLIB		 = -ldb
 DBBIN		 = apropos mandocdb man.cgi catman whatis
 DBLN		 = llib-lapropos.ln llib-lmandocdb.ln llib-lman.cgi.ln llib-lcatman.ln