Merge pull request #1 from natinusala/master

Makefile: Fix unix build
This commit is contained in:
Andrey K 2020-05-12 15:56:22 +03:00 committed by GitHub
commit 5beba07c9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,7 @@ ifeq ($(platform), unix)
fpic := -fPIC fpic := -fPIC
SHARED := -shared -Wl,--version-script=link.T -Wl,--no-undefined SHARED := -shared -Wl,--version-script=link.T -Wl,--no-undefined
GL_LIB := -lGL GL_LIB := -lGL
LIBS += -lpthread -lGL -luuid -Lthird_party/opus/lib
else ifneq (,$(findstring osx,$(platform))) else ifneq (,$(findstring osx,$(platform)))
TARGET := $(TARGET_NAME)_libretro.dylib TARGET := $(TARGET_NAME)_libretro.dylib
fpic := -fPIC fpic := -fPIC