--- src/modules/Makefile.in.orig 2004-11-23 08:20:06.000000000 +0300 +++ src/modules/Makefile.in 2012-02-03 05:25:52.000000000 +0400 @@ -2,9 +2,9 @@ CXX = @CXX@ LIBS = @LIBS@ CFLAGS = @CFLAGS@ @DEFS@ -LDFLAGS = @LDFLAGS@ +LDFLAGS = @SOFLAGS@ --export-dynamic LD = @LD@ -SOFLAGS = @SOFLAGS@ +SOFLAGS = OPT_MODS = @OPT_MODS@ CXXCOMPFLAGS = @LIBGB_INCL@ @CXXCOMPFLAGS@ CXXSOFLAGS = @LIBGB_INCL@ @CXXSOFLAGS@