Merge pull request #540 from kugel-/win32-plugindir

win32: change default plugin dir to match Linux.
This commit is contained in:
Enrico Tröger 2015-07-04 12:29:22 +02:00
commit a90b99b968
4 changed files with 3 additions and 7 deletions

View File

@ -168,7 +168,7 @@ Section "Plugins" SEC02
SectionIn 1
SetOverwrite ifnewer
SetOutPath "$INSTDIR\lib"
File "${RESOURCEDIR}\lib\*.dll"
File "${RESOURCEDIR}\lib\geany\*.dll"
SectionEnd
Section "Language Files" SEC03

View File

@ -3,11 +3,7 @@
EXTRA_DIST = \
makefile.win32
if MINGW
plugindir = $(libdir)
else
plugindir = $(libdir)/geany
endif
plugins_includedir = $(includedir)/geany
plugins_include_HEADERS = \

View File

@ -2121,7 +2121,7 @@ const gchar *utils_resource_dir(GeanyResourceDirType type)
resdirs[RESOURCE_DIR_ICON] = g_build_filename(prefix, "share", "icons", NULL);
resdirs[RESOURCE_DIR_DOC] = g_build_filename(prefix, "doc", NULL);
resdirs[RESOURCE_DIR_LOCALE] = g_build_filename(prefix, "share", "locale", NULL);
resdirs[RESOURCE_DIR_PLUGIN] = g_build_filename(prefix, "lib", NULL);
resdirs[RESOURCE_DIR_PLUGIN] = g_build_filename(prefix, "lib", "geany", NULL);
g_free(prefix);
#else
if (is_osx_bundle())

View File

@ -401,7 +401,7 @@ def build(bld):
def build_plugin(plugin_name, install=True, uselib_add=[]):
if install:
instpath = '${PREFIX}/lib' if is_win32 else '${LIBDIR}/geany'
instpath = '${LIBDIR}/geany'
else:
instpath = None