Skip to content

Commit

Permalink
Merge pull request #540 from kugel-/win32-plugindir
Browse files Browse the repository at this point in the history
win32: change default plugin dir to match Linux.
  • Loading branch information
eht16 committed Jul 4, 2015
2 parents aa40250 + 0b4228b commit a90b99b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion geany.nsi
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions plugins/Makefile.am
Expand Up @@ -3,11 +3,7 @@
EXTRA_DIST = \
makefile.win32

if MINGW
plugindir = $(libdir)
else
plugindir = $(libdir)/geany
endif

plugins_includedir = $(includedir)/geany
plugins_include_HEADERS = \
Expand Down
2 changes: 1 addition & 1 deletion src/utils.c
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion wscript
Expand Up @@ -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

Expand Down

0 comments on commit a90b99b

Please sign in to comment.