summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c695508..7b2fc5e 100644
--- a/Makefile
+++ b/Makefile
@@ -75,10 +75,10 @@ endif
endif #Darwin
else
-CFLAGS:=$(shell pkg-config --cflags-only-I $(LIBS)) $(CFLAGS)
ifeq ($(MAKECMDGOALS),libblastem.so)
LDFLAGS:=-lm
else
+CFLAGS:=$(shell pkg-config --cflags-only-I $(LIBS)) $(CFLAGS)
LDFLAGS:=-lm $(shell pkg-config --libs $(LIBS))
endif #libblastem.so
@@ -208,7 +208,7 @@ ALL+= termhelper
endif
ifeq ($(MAKECMDGOALS),libblastem.so)
-CFLAGS+= -fpic
+CFLAGS+= -fpic -DIS_LIB
endif
all : $(ALL)