From 7bf9f2425983e3198b100161448766e2d32eb4d3 Mon Sep 17 00:00:00 2001 From: arpunk Date: Wed, 6 May 2015 02:50:41 -0500 Subject: [PATCH] Add missing include and lib directories --- c_src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c_src/Makefile b/c_src/Makefile index 4e252ab..05beed3 100644 --- a/c_src/Makefile +++ b/c_src/Makefile @@ -19,8 +19,9 @@ ifeq ($(UNAME_SYS), Darwin) LDFLAGS ?= -arch x86_64 -flat_namespace -undefined suppress else ifeq ($(UNAME_SYS), FreeBSD) CC ?= cc - CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes + CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -I /usr/local/include CXXFLAGS ?= -O3 -finline-functions -Wall + LDFLAGS ?= -fPIC -L /usr/local/lib else ifeq ($(UNAME_SYS), Linux) CC ?= gcc CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes