build: -l arguments to belong into LDADD/LIBADD not LDFLAGS
authorJan Engelhardt <jengelh@inai.de>
Sun, 25 Nov 2018 09:20:07 +0000 (10:20 +0100)
committerhimanshu <h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:58:20 +0000 (14:28 +0530)
commit4e50fa39066f8d3e16e45c7f737db14cf18a7d4a
tree3349314a5fe1728b0691441642d00ffee0e5920a
parentf9bd5c3560b25525e1480c54a93f94fe6ef0fd86
build: -l arguments to belong into LDADD/LIBADD not LDFLAGS

It is an error to put -l arguments into LDFLAGS, because the linker
command line is order-sensitive and libs must appear in certain
places. For this, automake has the LDADD/LIBADD.

Change-Id: I19de36547008f1c4cc21e31c746d0f62c9d815d5
Signed-off-by: himanshu <h.himanshu@samsung.com>
Makefile.plugins
android/Makefile.am