summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-06-14 16:23:53 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-06-14 16:23:53 +0000
commitd8b775d2c4d9121e67952a3b81d59fdfdd4619ac (patch)
tree44f84dd34fb5fdf07b403403196d1629684d2d7b /src/plugins
parentf6ff17ebb0a990e517454e92f3879684b459fef6 (diff)
downloadweechat-d8b775d2c4d9121e67952a3b81d59fdfdd4619ac.zip
Renamed plugins names (removed "lib" prefix in name)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/aspell/Makefile.am8
-rw-r--r--src/plugins/plugins.c5
-rw-r--r--src/plugins/scripts/lua/Makefile.am8
-rw-r--r--src/plugins/scripts/perl/Makefile.am8
-rw-r--r--src/plugins/scripts/python/Makefile.am8
-rw-r--r--src/plugins/scripts/ruby/Makefile.am8
6 files changed, 21 insertions, 24 deletions
diff --git a/src/plugins/aspell/Makefile.am b/src/plugins/aspell/Makefile.am
index 449d38ba5..644c1f87f 100644
--- a/src/plugins/aspell/Makefile.am
+++ b/src/plugins/aspell/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(ASPELL_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libaspell.la
+lib_LTLIBRARIES = aspell.la
-libaspell_la_SOURCES = weechat-aspell.h weechat-aspell.c
-libaspell_la_LDFLAGS = -module
-libaspell_la_LIBADD = $(ASPELL_LFLAGS)
+aspell_la_SOURCES = weechat-aspell.h weechat-aspell.c
+aspell_la_LDFLAGS = -module
+aspell_la_LIBADD = $(ASPELL_LFLAGS)
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index e73a82e86..474d0e478 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -703,10 +703,7 @@ plugin_search_full_name (char *filename)
name_with_ext = (char *)malloc (length);
if (!name_with_ext)
return strdup (filename);
- name_with_ext[0] = '\0';
- if (ascii_strncasecmp (filename, "lib", 3) != 0)
- strcat (name_with_ext, "lib");
- strcat (name_with_ext, filename);
+ strcpy (name_with_ext, filename);
if (!strchr (filename, '.')
&& cfg_plugins_extension && cfg_plugins_extension[0])
strcat (name_with_ext, cfg_plugins_extension);
diff --git a/src/plugins/scripts/lua/Makefile.am b/src/plugins/scripts/lua/Makefile.am
index 814ed8dd7..b54218c66 100644
--- a/src/plugins/scripts/lua/Makefile.am
+++ b/src/plugins/scripts/lua/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(LUA_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = liblua.la
+lib_LTLIBRARIES = lua.la
-liblua_la_SOURCES = weechat-lua.c
-liblua_la_LDFLAGS = -module
-liblua_la_LIBADD = ../lib_weechat_plugins_scripts.la $(LUA_LFLAGS)
+lua_la_SOURCES = weechat-lua.c
+lua_la_LDFLAGS = -module
+lua_la_LIBADD = ../lib_weechat_plugins_scripts.la $(LUA_LFLAGS)
diff --git a/src/plugins/scripts/perl/Makefile.am b/src/plugins/scripts/perl/Makefile.am
index 8a5292c8c..06dbb60c4 100644
--- a/src/plugins/scripts/perl/Makefile.am
+++ b/src/plugins/scripts/perl/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(PERL_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libperl.la
+lib_LTLIBRARIES = perl.la
-libperl_la_SOURCES = weechat-perl.c
-libperl_la_LDFLAGS = -module
-libperl_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PERL_LFLAGS)
+perl_la_SOURCES = weechat-perl.c
+perl_la_LDFLAGS = -module
+perl_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PERL_LFLAGS)
diff --git a/src/plugins/scripts/python/Makefile.am b/src/plugins/scripts/python/Makefile.am
index ba8a445ae..63413fb5c 100644
--- a/src/plugins/scripts/python/Makefile.am
+++ b/src/plugins/scripts/python/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(PYTHON_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libpython.la
+lib_LTLIBRARIES = python.la
-libpython_la_SOURCES = weechat-python.c
-libpython_la_LDFLAGS = -module
-libpython_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PYTHON_LFLAGS)
+python_la_SOURCES = weechat-python.c
+python_la_LDFLAGS = -module
+python_la_LIBADD = ../lib_weechat_plugins_scripts.la $(PYTHON_LFLAGS)
diff --git a/src/plugins/scripts/ruby/Makefile.am b/src/plugins/scripts/ruby/Makefile.am
index 31fb34f0f..2ab5130af 100644
--- a/src/plugins/scripts/ruby/Makefile.am
+++ b/src/plugins/scripts/ruby/Makefile.am
@@ -19,8 +19,8 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(RUBY_CFLAGS)
libdir = ${weechat_libdir}/plugins
-lib_LTLIBRARIES = libruby.la
+lib_LTLIBRARIES = ruby.la
-libruby_la_SOURCES = weechat-ruby.c
-libruby_la_LDFLAGS = -module
-libruby_la_LIBADD = ../lib_weechat_plugins_scripts.la $(RUBY_LFLAGS)
+ruby_la_SOURCES = weechat-ruby.c
+ruby_la_LDFLAGS = -module
+ruby_la_LIBADD = ../lib_weechat_plugins_scripts.la $(RUBY_LFLAGS)