Skip to content

Commit

Permalink
Ticket #1426 (linking with --with-glib-static option)
Browse files Browse the repository at this point in the history
    Makefile.am: change libs search order to fix link problem with
     --with-glib-static

    m4.include/mc-with-screen.m4, src/Makefile.am: cleanup
  • Loading branch information
iNode authored and ilia-maslakov committed Aug 2, 2009
1 parent d3f1b16 commit ea4a652
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion m4.include/mc-with-screen.m4
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ AC_DEFUN([MC_CHECK_SLANG_BY_PATH], [
AC_DEFINE(HAVE_SLANG, 1,
[Define to use S-Lang library for screen management])
MCLIBS="$MCLIBS $ac_slang_inc_path $ac_slang_lib_path -lslang"
MCLIBS="$MCLIBS $ac_slang_lib_path -lslang"
fi
CFLAGS="$saved_CFLAGS"
CPPFLAGS="$saved_CPPFLAGS"
Expand Down
6 changes: 3 additions & 3 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ VFSLIB = ../vfs/libvfs-mc.a
endif
endif

mc_LDADD = $(EDITLIB) $(SLANGLIB) $(VFSLIB) \
$(INTLLIBS) $(GLIB_LIBS) $(MCLIBS) $(LIBICONV) search/libsearch.la \
mcconfig/libmcconfig.la
mc_LDADD = $(EDITLIB) $(VFSLIB) \
search/libsearch.la mcconfig/libmcconfig.la \
$(INTLLIBS) $(MCLIBS) $(SLANGLIB) $(LIBICONV) $(GLIB_LIBS)

CHARSET_SRC = charsets.c charsets.h selcodepage.c selcodepage.h

Expand Down

0 comments on commit ea4a652

Please sign in to comment.