diff options
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> | 2015-12-11 09:51:41 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-11 21:34:29 +0100 |
commit | 3b946ee2a834f737e775edd2410baf12afcd037f (patch) | |
tree | fed73637ed38f08dfb537661feaa18696859b631 /package/ltp-testsuite/ltp-testsuite.mk | |
parent | d1d735a1480f0f37a5996cb57c5a35ca2c3c3d90 (diff) | |
download | buildroot-3b946ee2a834f737e775edd2410baf12afcd037f.tar.gz buildroot-3b946ee2a834f737e775edd2410baf12afcd037f.zip |
Revert "ltp-testsuite: don't link with libtirpc"
This reverts commit 8f1c4c49a2ab0fc9e6cf73370f4483e253e5ac2d in favor of an
alternative solution in a subsequent patch.
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ltp-testsuite/ltp-testsuite.mk')
-rw-r--r-- | package/ltp-testsuite/ltp-testsuite.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk index 78dc9f4c05..da366360c0 100644 --- a/package/ltp-testsuite/ltp-testsuite.mk +++ b/package/ltp-testsuite/ltp-testsuite.mk @@ -24,11 +24,18 @@ endif # support. LTP_TESTSUITE_CFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS)) LTP_TESTSUITE_CPPFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS)) +LTP_TESTSUITE_LIBS = + +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +LTP_TESTSUITE_DEPENDENCIES += libtirpc host-pkgconf +LTP_TESTSUITE_CFLAGS += "`$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`" +LTP_TESTSUITE_LIBS += "`$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`" +endif LTP_TESTSUITE_CONF_ENV += \ - ac_cv_header_tirpc_netconfig_h=no \ CFLAGS="$(LTP_TESTSUITE_CFLAGS)" \ CPPFLAGS="$(LTP_TESTSUITE_CPPFLAGS)" \ + LIBS="$(LTP_TESTSUITE_LIBS)" \ SYSROOT="$(STAGING_DIR)" $(eval $(autotools-package)) |