qwt: fix build when BR2_STATIC_LIBS=y
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Thu, 11 May 2017 13:46:57 +0000 (15:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 11 May 2017 15:52:54 +0000 (17:52 +0200)
commit11c619058e8b9de99d4ee227aaf41de1518395f8
tree1b7a62d073fa103ffd6ca93f41a6e452a01bd8a8
parente2bb446ff50c3bd346beca07d5e7f3dc11591a1c
qwt: fix build when BR2_STATIC_LIBS=y

By default, qwt build a shared library, but when BR2_STATIC_LIBS is set
compilation failed with errors like :
__uClibc_main.c:(.text+0x164): undefined reference to `__fini_array_end'
__uClibc_main.c:(.text+0x168): undefined reference to `__fini_array_start'
__uClibc_main.c:(.text+0x16c): undefined reference to `__fini_array_start'

This patch disable QwtDll to build a static library when BR2_STATIC_LIBS=y.

fix:
http://autobuild.buildroot.net/results/739/739406bb8073d1861933872a47802954d9767634/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qwt/qwt.mk