23 lines
752 B
Text
23 lines
752 B
Text
--- gnutls/Makefile.orig 2009-12-13 10:02:39.000000000 +0800
|
|
+++ gnutls/Makefile 2011-09-05 16:11:46.000000000 +0800
|
|
@@ -5,16 +5,16 @@ CC = gcc
|
|
AR = ar cru
|
|
CFLAGS = -Wall -D_REENTRANT -D_GNU_SOURCE -g -fPIC
|
|
SOFLAGS = -shared
|
|
-LDFLAGS = -lstdc++ -lpthread -lresolv
|
|
+LDFLAGS = -lstdc++ -lpthread
|
|
|
|
LINKER = $(CC)
|
|
LINT = lint -c
|
|
RM = /bin/rm -f
|
|
|
|
-GNUTLS_INCL = -I/usr/local/include/
|
|
-GNUTLS_LIB = -L/usr/local/lib -lgcrypt -lgpg-error -lgnutls -lgnutls-extra -lstdc++
|
|
+GNUTLS_INCL = -I%PREFIX%/include
|
|
+GNUTLS_LIB = -L%PREFIX%/lib -lgcrypt -lgpg-error -lgnutls -lgnutls-extra -lstdc++
|
|
|
|
-LIBEVENT_LIB = -L$(HOME)/libevent -levent
|
|
+LIBEVENT_LIB = -L%PREFIX%/lib -levent
|
|
|
|
SPSERVER_INCL = -I../spserver
|
|
SPSERVER_LIB = -L../spserver -lspserver
|