Kaydet (Commit) 0b4228b9 authored tarafından Thomas Martitz's avatar Thomas Martitz

win32: change default plugin dir to match Linux.

There is no need to do it differently as Linux here, and it confuses the
autotools based compilation of geany-plugins which installs to libdir/geany
unconditionally.
üst db30fdc6
......@@ -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
......
......@@ -3,11 +3,7 @@
EXTRA_DIST = \
makefile.win32
if MINGW
plugindir = $(libdir)
else
plugindir = $(libdir)/geany
endif
plugins_includedir = $(includedir)/geany
plugins_include_HEADERS = \
......
......@@ -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())
......
......@@ -397,7 +397,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment