[retro-gtk] build: Add RETRO_PLUGIN_PATH



commit 8f0678fd77c93f9ba919bde9ea6127bd8361202b
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Aug 9 15:25:20 2016 +0200

    build: Add RETRO_PLUGIN_PATH
    
    This will be used in the next commit to look for libretro modules in
    more places.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769678
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769729

 retro-gobject/Makefile.am      |    1 +
 retro-gobject/vapi/config.vapi |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/retro-gobject/Makefile.am b/retro-gobject/Makefile.am
index 21e81e2..7776978 100644
--- a/retro-gobject/Makefile.am
+++ b/retro-gobject/Makefile.am
@@ -10,6 +10,7 @@ AM_CPPFLAGS = \
        -DPROJECT_API_VERSION=\""0.6"\" \
        -DPROJECT_DIR_NAME=\""retro-1.0"\" \
        -DPROJECT_PLUGINS_DIR=\""$(libdir)/retro-1.0/plugins"\" \
+       -DRETRO_PLUGIN_PATH=\""$(libdir)/retro-1.0/plugins:$(libdir)/libretro:$(libdir)"\" \
        $(RETRO_GOBJECT_CFLAGS) \
        $(NULL)
 
diff --git a/retro-gobject/vapi/config.vapi b/retro-gobject/vapi/config.vapi
index cfd00b2..4cf881a 100644
--- a/retro-gobject/vapi/config.vapi
+++ b/retro-gobject/vapi/config.vapi
@@ -9,6 +9,7 @@ namespace Config {
        public const string PROJECT_API_VERSION;
        public const string PROJECT_DIR_NAME;
        public const string PROJECT_PLUGINS_DIR;
+       public const string RETRO_PLUGIN_PATH;
        public const string PACKAGE;
        public const string VERSION;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]