From 2516a1ae43e39bfb2892a9c6417c5d3e9fa4eb18 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 11 May 2013 14:54:36 +0200 Subject: [PATCH] Fix LInux build. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1981465..ab9c096 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,8 @@ endif ifeq ($(platform), unix) TARGET := libretro.so fpic := -fPIC - SHARED := -lz -shared -Wl,--version-script=link.T -Wl,--no-undefined - GL_LIB := -lGL + SHARED := -shared -Wl,--version-script=link.T -Wl,--no-undefined + GL_LIB := -lGL -lz else ifeq ($(platform), osx) TARGET := libretro.dylib fpic := -fPIC