summaryrefslogtreecommitdiff
path: root/Ports/quake3/patches/0004-Meta-Add-ldl-library-for-Serenity-target.patch
blob: 8716cb9217046e9ee21192c88a5629deb0fac2aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jesse Buhagiar <jooster669@gmail.com>
Date: Fri, 25 Mar 2022 09:45:12 +1100
Subject: [PATCH] Meta: Add `-ldl` library for Serenity target

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index b26ceb7..035fea7 100644
--- a/Makefile
+++ b/Makefile
@@ -868,7 +868,7 @@ ifeq ($(PLATFORM),serenity)
   SHLIBLDFLAGS=-shared $(LDFLAGS)
 
   THREAD_LIBS=-lpthread
-  LIBS=-lm
+  LIBS=-lm -ldl
 
   CLIENT_LIBS =