commit ef4b3f36f7e482ac2f93694eb15d390842342cae
parent c6c6b1823ff1dd974431b3d4395d08f18b24b68b
Author: Joris Vink <joris@coders.se>
Date: Sun, 28 Apr 2013 13:55:47 +0200
add openssl libraries we link against, easier.
Diffstat:
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -6,13 +6,14 @@ BIN=kore
S_SRC= src/kore.c src/utils.c
S_OBJS= $(S_SRC:.c=.o)
+CFLAGS+=-I/usr/local/ssl/include
CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=-Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=-Wsign-compare -Iincludes -g
-LDFLAGS=-lcrypto -lssl
+LDFLAGS=-Bstatic -Llibs -lssl -lcrypto
light: $(S_OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) $(S_OBJS) -o $(BIN)
+ $(CC) $(CFLAGS) $(S_OBJS) $(LDFLAGS) -o $(BIN)
.c.o: $<
$(CC) $(CFLAGS) -c $< -o $@
diff --git a/libs/libcrypto.a b/libs/libcrypto.a
Binary files differ.
diff --git a/libs/libssl.a b/libs/libssl.a
Binary files differ.