Closed mrturcot closed 4 years ago
Quick and dirty fix to make it build on linux/gcc:
diff --git a/Makefile.common b/Makefile.common
index d807eb2b..3ca856a3 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -447,6 +447,7 @@ endif
ifeq ($(HAVE_THR_AL), 1)
CFLAGS += -DHAVE_THR_AL
CXXFLAGS += -DHAVE_THR_AL
+LDFLAGS += -pthread
### Angrylion's renderer ###
SOURCES_CXX += $(VIDEODIR_ANGRYLION)/parallel_al.cpp
SOURCES_C += $(VIDEODIR_ANGRYLION)/interface.c \
I did not runtime test this yet.
Package complies
Hello I am receiving this error below during compilation on Manjaro. I cannot build the package.
collect2: error: ld returned 1 exit status
make: *** [Makefile:968: parallel_n64_libretro.so] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Full build log here https://pastebin.com/Ktc4RFvZ