K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-05-19T13:40:12.535999Z K 7 svn:log V 676 Add some substitutions to ensure that plugins are linked with libabiword from the work or stage directory instead of a previously installed library. In pseudo code: s,PLUGIN_LIBS="$PLUGIN_LIBS -Lsrc -labiword", PLUGIN_LIBS="src/libabiword.la $PLUGIN_LIBS", s,foo_LIBS="$foo_LIBS $PLUGIN_LIBS", foo_LIBS="$PLUGIN_LIBS $foo_LIBS", The initial value of PLUGIN_LIBS may contain -L/usr/local/lib so it would have to come after -Lsrc, but -Lsrc is not correct when libtool relinks plugins during staging so use src/libabiword.la and let libtool figure out what flags are needed. Secondly, switch around foo_LIBS and PLUGIN_LIBS because foo_LIBS may contain -L/usr/local/lib. END