mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-10 10:10:28 +03:00
Do not build test-static-link in case of shared only build, fixes the following compile failure: libtool: link: [..]/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc -std=gnu99 -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -o test-static-link test_static_link-test-link.o ../libevdev/.libs/libevdev.so -Wl,-rpath -Wl,[...]/build/libevdev-1.4/libevdev/.libs [...]/arm-buildroot-linux-uclibcgnueabi/bin/ld: attempted static link of dynamic object `../libevdev/.libs/libevdev.so' collect2: error: ld returned 1 exit status Makefile:719: recipe for target 'test-static-link' failed Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
566 B
Makefile
22 lines
566 B
Makefile
################################################################################
|
|
#
|
|
# libevdev
|
|
#
|
|
################################################################################
|
|
|
|
LIBEVDEV_VERSION = 1.4
|
|
LIBEVDEV_SITE = http://www.freedesktop.org/software/libevdev/
|
|
LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz
|
|
LIBEVDEV_LICENSE = X11
|
|
LIBEVDEV_LICENSE_FILES = COPYING
|
|
|
|
# Uses PKG_CHECK_MODULES() in configure.ac
|
|
LIBEVDEV_DEPENDENCIES = host-pkgconf
|
|
|
|
LIBEVDEV_INSTALL_STAGING = YES
|
|
|
|
# patched configure.ac
|
|
LIBEVDEV_AUTORECONF = YES
|
|
|
|
$(eval $(autotools-package))
|