mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:27:34 +00:00
Ports: Add libenet
Libenet is a UDP networking library that is used by Love2D, a game framework I would like to port.
This commit is contained in:
parent
719a00df3a
commit
d94a374001
6 changed files with 109 additions and 0 deletions
24
Ports/libenet/patches/0001-Make-library-shared.patch
Normal file
24
Ports/libenet/patches/0001-Make-library-shared.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
From f3a57c5b7971c073f2405d97bf48a93c9b12ba44 Mon Sep 17 00:00:00 2001
|
||||
From: surrealegg <surrealegg@pm.me>
|
||||
Date: Thu, 21 Sep 2023 16:35:39 +0400
|
||||
Subject: [PATCH 1/3] Make library shared
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index d3d4aa8..091cb5a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -84,7 +84,7 @@ set(SOURCE_FILES
|
||||
source_group(include FILES ${INCLUDE_FILES})
|
||||
source_group(source FILES ${SOURCE_FILES})
|
||||
|
||||
-add_library(enet STATIC
|
||||
+add_library(enet SHARED
|
||||
${INCLUDE_FILES}
|
||||
${SOURCE_FILES}
|
||||
)
|
||||
--
|
||||
2.41.0
|
Loading…
Add table
Add a link
Reference in a new issue