summaryrefslogtreecommitdiff
path: root/games-emulation/desmume/files/desmume-0.9.11_p20210409-openal-automagic.patch
blob: 565ea3f5a7b0277e762de2f293716c4f210ceae3 (plain)
1
2
3
4
5
6
7
8
9
10
Option only changes whether the dep is required and doesn't disable it.
--- a/desmume/src/frontend/posix/meson.build
+++ b/desmume/src/frontend/posix/meson.build
@@ -176,5 +176,5 @@
 endif
 
-if dep_openal.found()
+if dep_openal.found() and get_option('openal')
   dependencies += dep_openal
   libdesmume_src += [