mirror of https://github.com/MidnightCommander/mc
tests: fix DSO link error in case of --enable-mclib.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
b7c54f64bb
commit
3ae7ad4449
|
@ -6,7 +6,12 @@ AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) @CHECK_CFLAGS@
|
|||
|
||||
AM_LDFLAGS = @TESTS_LDFLAGS@
|
||||
|
||||
LIBS = @CHECK_LIBS@ $(top_builddir)/lib/libmc.la
|
||||
LIBS = @CHECK_LIBS@ \
|
||||
$(top_builddir)/lib/libmc.la
|
||||
|
||||
if ENABLE_MCLIB
|
||||
LIBS += $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
EXTRA_DIST = utilunix__my_system-common.c
|
||||
|
||||
|
|
|
@ -8,7 +8,12 @@ AM_CPPFLAGS = \
|
|||
|
||||
AM_LDFLAGS = @TESTS_LDFLAGS@
|
||||
|
||||
LIBS=@CHECK_LIBS@ $(top_builddir)/lib/libmc.la
|
||||
LIBS = @CHECK_LIBS@ \
|
||||
$(top_builddir)/lib/libmc.la
|
||||
|
||||
if ENABLE_MCLIB
|
||||
LIBS += $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
TESTS = \
|
||||
config_string \
|
||||
|
|
|
@ -7,7 +7,12 @@ AM_CPPFLAGS = \
|
|||
@CHECK_CFLAGS@ \
|
||||
@PCRE_CPPFLAGS@
|
||||
|
||||
LIBS = @CHECK_LIBS@ $(top_builddir)/lib/libmc.la @PCRE_LIBS@
|
||||
LIBS = @CHECK_LIBS@ \
|
||||
$(top_builddir)/lib/libmc.la @PCRE_LIBS@
|
||||
|
||||
if ENABLE_MCLIB
|
||||
LIBS += $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
TESTS = \
|
||||
glob_prepare_replace_str \
|
||||
|
|
|
@ -6,7 +6,12 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/lib/search \
|
||||
@CHECK_CFLAGS@
|
||||
|
||||
LIBS = @CHECK_LIBS@ $(top_builddir)/lib/libmc.la
|
||||
LIBS = @CHECK_LIBS@ \
|
||||
$(top_builddir)/lib/libmc.la
|
||||
|
||||
if ENABLE_MCLIB
|
||||
LIBS += $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
TESTS = \
|
||||
replace__str_replace_all \
|
||||
|
|
|
@ -11,9 +11,13 @@ AM_LDFLAGS = @TESTS_LDFLAGS@
|
|||
|
||||
EXTRA_DIST = mc.charsets
|
||||
|
||||
LIBS=@CHECK_LIBS@ \
|
||||
LIBS = @CHECK_LIBS@ \
|
||||
$(top_builddir)/lib/libmc.la
|
||||
|
||||
if ENABLE_MCLIB
|
||||
LIBS += $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
TESTS = \
|
||||
canonicalize_pathname \
|
||||
current_dir \
|
||||
|
|
|
@ -8,9 +8,13 @@ AM_CPPFLAGS = \
|
|||
|
||||
AM_LDFLAGS = @TESTS_LDFLAGS@
|
||||
|
||||
LIBS=@CHECK_LIBS@ \
|
||||
LIBS = @CHECK_LIBS@ \
|
||||
$(top_builddir)/lib/libmc.la
|
||||
|
||||
if ENABLE_MCLIB
|
||||
LIBS += $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
TESTS = \
|
||||
complete_engine
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ AM_CPPFLAGS = \
|
|||
|
||||
AM_LDFLAGS = @TESTS_LDFLAGS@
|
||||
|
||||
LIBS=@CHECK_LIBS@ \
|
||||
LIBS = @CHECK_LIBS@ \
|
||||
$(top_builddir)/src/libinternal.la \
|
||||
$(top_builddir)/lib/libmc.la
|
||||
|
||||
|
@ -23,6 +23,10 @@ if ENABLE_VFS_SMB
|
|||
LIBS += $(top_builddir)/src/vfs/smbfs/helpers/libsamba.a
|
||||
endif
|
||||
|
||||
if ENABLE_MCLIB
|
||||
LIBS += $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
EXTRA_DIST = execute__common.c
|
||||
|
||||
TESTS = \
|
||||
|
|
|
@ -9,7 +9,7 @@ AM_CPPFLAGS = \
|
|||
|
||||
AM_LDFLAGS = @TESTS_LDFLAGS@
|
||||
|
||||
LIBS=@CHECK_LIBS@ \
|
||||
LIBS = @CHECK_LIBS@ \
|
||||
$(top_builddir)/src/libinternal.la \
|
||||
$(top_builddir)/lib/libmc.la \
|
||||
@PCRE_LIBS@
|
||||
|
@ -19,6 +19,10 @@ if ENABLE_VFS_SMB
|
|||
LIBS += $(top_builddir)/src/vfs/smbfs/helpers/libsamba.a
|
||||
endif
|
||||
|
||||
if ENABLE_MCLIB
|
||||
LIBS += $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
EXTRA_DIST = mc.charsets test-data.txt.in
|
||||
|
||||
TESTS = \
|
||||
|
|
|
@ -10,7 +10,7 @@ AM_CPPFLAGS = \
|
|||
|
||||
AM_LDFLAGS = @TESTS_LDFLAGS@
|
||||
|
||||
LIBS=@CHECK_LIBS@ \
|
||||
LIBS = @CHECK_LIBS@ \
|
||||
$(top_builddir)/src/libinternal.la \
|
||||
$(top_builddir)/lib/libmc.la \
|
||||
@PCRE_LIBS@
|
||||
|
@ -20,6 +20,10 @@ if ENABLE_VFS_SMB
|
|||
LIBS += $(top_builddir)/src/vfs/smbfs/helpers/libsamba.a
|
||||
endif
|
||||
|
||||
if ENABLE_MCLIB
|
||||
LIBS += $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
EXTRA_DIST = hints/mc.hint
|
||||
|
||||
TESTS = \
|
||||
|
|
|
@ -10,6 +10,10 @@ AM_LDFLAGS = @TESTS_LDFLAGS@
|
|||
|
||||
LIBS = $(top_builddir)/lib/libmc.la
|
||||
|
||||
if ENABLE_MCLIB
|
||||
LIBS += $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
# Programs/scripts to build on 'make check'.
|
||||
check_PROGRAMS = mc_parse_ls_l
|
||||
check_SCRIPTS = run
|
||||
|
|
Loading…
Reference in New Issue