From 27404027deee4f439a7c053bb9eb8425e995cb4c Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sun, 20 Jan 2019 16:24:22 -0800 Subject: Fixed the most glaring issues in libretro build --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.3