aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authorkwyxz2018-01-28 02:48:33 +0000
committerkwyxz2018-01-28 02:48:33 +0000
commit2085a86501e4c4aadd36deb935d41ff5eeec706f (patch)
treebdc9a7ccbf5f2ecfa5f4f4d7a586683b786208a1 /Makefile.libretro
parentcf1d58b351c9b05875c7a14b6c2e26afc6694ace (diff)
downloadpcsx_rearmed-2085a86501e4c4aadd36deb935d41ff5eeec706f.tar.gz
pcsx_rearmed-2085a86501e4c4aadd36deb935d41ff5eeec706f.tar.bz2
pcsx_rearmed-2085a86501e4c4aadd36deb935d41ff5eeec706f.zip
Fixed uname for Solaris + enabled Haiku build
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index a82a13a..c9e27d8 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -28,7 +28,11 @@ ifneq ($(GIT_VERSION)," unknown")
endif
LIBZ := -lz
LIBPTHREAD := -lpthread
+ifneq ($(findstring Haiku,$(shell uname -s)),)
+LIBDL := -lroot -lnetwork
+else
LIBDL := -ldl
+endif
MMAP_WIN32=0
EXTRA_LDFLAGS =
@@ -36,7 +40,7 @@ EXTRA_LDFLAGS =
ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
-ifneq ($(findstring SunOS,$(shell uname -a)),)
+ifneq ($(findstring SunOS,$(shell uname -s)),)
CC = gcc
endif