build: don't use _LDFLAGS for -L/-l options
commit63f4e13a3474ed8061f43112c8ac34de722cc020
authorStefan Becker <stefan.becker@nokia.com>
Thu, 1 Apr 2010 23:31:38 +0000 (2 02:31 +0300)
committerStefan Becker <stefan.becker@nokia.com>
Thu, 1 Apr 2010 23:31:38 +0000 (2 02:31 +0300)
treed53063f77875aef1894a32fbd54b89be5d8f336f
parent8b9cfefc865e0afece9b7b6d7f7ed168c99391aa
build: don't use _LDFLAGS for -L/-l options

_LDFLAGS contents appear before _LIBADD/_LDADD contents on the libtool comand
line. Therefore -L/-l options in _LDFLAGS are not in the correct order.

Usually this doesn't matter but in OBS openSUSE 11.2 repository the linker
option --as-needed is enabled by default. This option demands the correct
order of objects, linker libraries and shared libraries in order to resolve all
references.

Moved all _LDFLAGS contents to _LIBADD/_LDADD.
src/core/Makefile.am
src/purple/Makefile.am