Skip to content

Commit abf231e

Browse files
committed
dependencies: add workaround for sdl2_image, so that it's installable
1 parent 9c0a7b2 commit abf231e

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/meson.build b/meson.build
2+
index 728eea8..221edf9 100644
3+
--- a/meson.build
4+
+++ b/meson.build
5+
@@ -153,6 +153,7 @@ sdl2_image_lib = library(
6+
objc_args: full_library_args,
7+
dependencies: deps,
8+
gnu_symbol_visibility: 'hidden',
9+
+ install: true
10+
)
11+
12+
depinc = include_directories('.')

subprojects/sdl2_image.wrap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,9 @@ patch_hash = 1741274f30b5b88299b2588a498a54a4203861ec1fa64c3bf99b359a6b618354
99
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/sdl2_image_2.6.3-2/SDL2_image-2.6.3.tar.gz
1010
wrapdb_version = 2.6.3-2
1111

12+
# TODO: remove once this is merged inot the wrapdb
13+
# see https://github.com/mesonbuild/wrapdb/pull/1737
14+
diff_files = SDL2_image-2.6.3_install.diff
15+
1216
[provide]
1317
sdl2_image = sdl2_image_dep

0 commit comments

Comments
 (0)