From: Apaczer <94932128+Apaczer@users.noreply.github.com>
Date: Mon, 31 Mar 2025 19:58:29 +0000 (+0200)
Subject: frontend/menu: don't show ext. plugins in static build
X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76eaeb7407cd52a77db9eeef5a0301060f3e0cb8;p=pcsx_rearmed.git

frontend/menu: don't show ext. plugins in static build
---

diff --git a/frontend/menu.c b/frontend/menu.c
index 7f8fdc33..c6a2c30a 100644
--- a/frontend/menu.c
+++ b/frontend/menu.c
@@ -1528,6 +1528,7 @@ static const char h_plugin_gpu[] =
 #elif defined(BUILTIN_GPU_UNAI)
 				   "builtin_gpu is the Unai GPU, very fast\n"
 #endif
+#ifndef NO_DYLIB
 #if !defined(BUILTIN_GPU_NEON) && defined(GPU_NEON)
 				   "gpu_neon is Exophase's NEON GPU, fast and accurate\n"
 #endif
@@ -1540,9 +1541,15 @@ static const char h_plugin_gpu[] =
 #ifdef HAVE_GLES
 				   "gpu_gles Pete's hw GPU, uses 3D chip but is glitchy\n"
 #endif
-				   "must save config and reload the game if changed";
-static const char h_plugin_spu[] = "spunull effectively disables sound\n"
-				   "must save config and reload the game if changed";
+				   "must save config and reload the game if changed"
+#endif
+				   ;
+static const char h_plugin_spu[] = ""
+#ifndef NO_DYLIB
+				   "spunull effectively disables sound\n"
+				   "must save config and reload the game if changed"
+#endif
+;
 // static const char h_gpu_peops[]  = "Configure P.E.Op.S. SoftGL Driver V1.17";
 // static const char h_gpu_peopsgl[]= "Configure P.E.Op.S. MesaGL Driver V1.78";
 // static const char h_gpu_unai[]   = "Configure Unai/PCSX4ALL Team plugin (new)";