Ticket #4173: fix linking of libmc.la.

Thanks Sebastian Gniazdowski <sgniazdowski@gmail.com> for the issue.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2021-01-31 10:17:49 +03:00
parent 32cc3532a9
commit f29533f00f
4 changed files with 8 additions and 7 deletions

View File

@ -52,8 +52,15 @@ libinternal_la_LIBADD = \
$(DIFFLIB) $(EDITLIB) $(SUBSHELLLIB)
mc_LDADD = \
libinternal.la \
libinternal.la
if ENABLE_MCLIB
libinternal_la_LIBADD += \
$(top_builddir)/lib/libmc.la
else
mc_LDADD += \
$(top_builddir)/lib/libmc.la
endif
if ENABLE_VFS_SMB
# this is a hack for linking with own samba library in simple way

View File

@ -6,5 +6,3 @@ libdiffviewer_la_SOURCES = \
ydiff.c ydiff.h
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS) $(PCRE_CPPFLAGS)
libdiffviewer_la_LIBADD = ../../lib/libmc.la

View File

@ -38,5 +38,3 @@ libmcfilemanager_la_SOURCES += \
AM_CPPFLAGS += @EXT2FS_CFLAGS@ @E2P_CFLAGS@
endif
libmcfilemanager_la_LIBADD = ../../lib/libmc.la

View File

@ -20,5 +20,3 @@ libmcviewer_la_SOURCES = \
search.c
AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS) $(PCRE_CPPFLAGS)
libmcviewer_la_LIBADD = ../../lib/libmc.la