From 540c8804283ddb93d48fc7af4b4539d0840851d4 Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Wed, 7 Aug 2019 18:49:38 +0800 Subject: Do not compile plugins when using the non-static build method - This is meant for platforms that still uses the non-static build method to compile the libretro core (aka versions of retropie) - The output file is still libretro.so to preserve any compatibility with existing script - Using the static makefile is still recommended. --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index c3ff68f..4f501b0 100755 --- a/configure +++ b/configure @@ -550,12 +550,15 @@ echo >> $config_mak if [ "$platform" = "libretro" ]; then echo "TARGET = libretro.so" >> $config_mak + echo "HAVE_CHD = 1" >> $config_mak fi echo "ARCH = $ARCH" >> $config_mak echo "PLATFORM = $platform" >> $config_mak echo "BUILTIN_GPU = $builtin_gpu" >> $config_mak echo "SOUND_DRIVERS = $sound_drivers" >> $config_mak -echo "PLUGINS = $plugins" >> $config_mak +if [ "$platform" != "libretro" ]; then + echo "PLUGINS = $plugins" >> $config_mak +fi if [ "$have_arm_neon" = "yes" ]; then echo "HAVE_NEON = 1" >> $config_mak fi -- cgit v1.2.3