pentoo-overlay/dev-db/sqlbf/files/sqlbf-1.0.1-make.patch
2014-05-26 04:02:00 +00:00

14 lines
358 B
Diff

diff -urN sqlbf.orig/Makefile sqlbf/Makefile
--- sqlbf.orig/Makefile 2002-07-12 23:52:38.000000000 +0800
+++ sqlbf/Makefile 2014-05-26 11:59:52.583091399 +0800
@@ -2,8 +2,8 @@
CC = gcc -O6
SQLBF_OBJS = bf.o crypto.o sqlbf.o
-CFLAGS = -Iinclude
-LDFLAGS = -lssl -lm -lpthread
+CFLAGS += -Iinclude
+LDFLAGS += -lssl -lm -lpthread -lcrypto
all: SQLBF