1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00

Fixed minor compilation problem (dependency with plugins lib)

This commit is contained in:
Sebastien Helleu
2005-10-30 18:37:58 +00:00
parent c0e4ba60d7
commit e5754e1fe6
4 changed files with 24 additions and 4 deletions
+1 -2
View File
@@ -281,12 +281,11 @@ if test "x$enable_ruby" = "xyes" ; then
fi
if test "x$enable_plugins" = "xyes" ; then
PLUGINS_LIBS="../../plugins/lib_weechat_plugins.a"
AC_CHECK_FUNCS(dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)
if test "$LIBDL_FOUND" != "yes"; then
AC_CHECK_LIB(dl, dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)
if test "$LIBDL_FOUND" = "yes"; then
PLUGINS_LIBS="$PLUGINS_LIBS -ldl"
PLUGINS_LIBS="-ldl"
else
AC_MSG_ERROR([
*** "dl" library (dynamic library loader) couldn't be found in your system.
+11
View File
@@ -19,6 +19,16 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\"
bin_PROGRAMS = weechat-curses
if PLUGINS
weechat_curses_LDADD = ../gui-common.o ../gui-keyboard.o \
../gui-action.o \
../../common/lib_weechat_main.a \
../../irc/lib_weechat_irc.a \
../../plugins/lib_weechat_plugins.a \
$(PLUGINS_LIBS) \
$(NCURSES_LIBS) \
$(GNUTLS_LFLAGS)
else
weechat_curses_LDADD = ../gui-common.o ../gui-keyboard.o \
../gui-action.o \
../../common/lib_weechat_main.a \
@@ -26,6 +36,7 @@ weechat_curses_LDADD = ../gui-common.o ../gui-keyboard.o \
$(PLUGINS_LIBS) \
$(NCURSES_LIBS) \
$(GNUTLS_LFLAGS)
endif
weechat_curses_SOURCES = gui-display.c \
gui-input.c
+1 -2
View File
@@ -281,12 +281,11 @@ if test "x$enable_ruby" = "xyes" ; then
fi
if test "x$enable_plugins" = "xyes" ; then
PLUGINS_LIBS="../../plugins/lib_weechat_plugins.a"
AC_CHECK_FUNCS(dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)
if test "$LIBDL_FOUND" != "yes"; then
AC_CHECK_LIB(dl, dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)
if test "$LIBDL_FOUND" = "yes"; then
PLUGINS_LIBS="$PLUGINS_LIBS -ldl"
PLUGINS_LIBS="-ldl"
else
AC_MSG_ERROR([
*** "dl" library (dynamic library loader) couldn't be found in your system.
+11
View File
@@ -19,6 +19,16 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\"
bin_PROGRAMS = weechat-curses
if PLUGINS
weechat_curses_LDADD = ../gui-common.o ../gui-keyboard.o \
../gui-action.o \
../../common/lib_weechat_main.a \
../../irc/lib_weechat_irc.a \
../../plugins/lib_weechat_plugins.a \
$(PLUGINS_LIBS) \
$(NCURSES_LIBS) \
$(GNUTLS_LFLAGS)
else
weechat_curses_LDADD = ../gui-common.o ../gui-keyboard.o \
../gui-action.o \
../../common/lib_weechat_main.a \
@@ -26,6 +36,7 @@ weechat_curses_LDADD = ../gui-common.o ../gui-keyboard.o \
$(PLUGINS_LIBS) \
$(NCURSES_LIBS) \
$(GNUTLS_LFLAGS)
endif
weechat_curses_SOURCES = gui-display.c \
gui-input.c