[SSSD] [PATCH] AUTOMAKE: Don't build libsss_test_common every time

Lukas Slebodnik lslebodn at redhat.com
Tue Sep 10 07:50:21 UTC 2013


On (10/09/13 09:48), Lukas Slebodnik wrote:
>ehlo,
>
>Although static library libsss_test_common was used only in tests,
>It was also built with command "make all".
>
>Simple patch is attached.
My hands was fast and now with patch
>
>LS
>_______________________________________________
>sssd-devel mailing list
>sssd-devel at lists.fedorahosted.org
>https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
-------------- next part --------------
>From 2a087e50dbcdd9d5331acd26789d9cb56c29f23f Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Tue, 10 Sep 2013 09:39:27 +0200
Subject: [PATCH] AUTOMAKE: Don't build libsss_test_common every time

Although static library libsss_test_common was used only in tests,
It was also built with command "make all"
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 25a4cbf83c790b85fab9ccccd611f59704a5b301..e97e63ebf09b608a3171fa2c12b7ba549cb944b3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -878,7 +878,7 @@ ldb_mod_test_dir: memberof.la
 	mkdir -p $(builddir)/ldb_mod_test_dir
 	cp $(builddir)/.libs/memberof.so $(builddir)/ldb_mod_test_dir
 
-noinst_LTLIBRARIES += \
+check_LTLIBRARIES = \
     libsss_test_common.la
 
 libsss_test_common_la_SOURCES = \
@@ -891,7 +891,7 @@ if HAVE_CHECK
 libsss_test_common_la_SOURCES += \
     src/tests/common_check.c
 
-check_LTLIBRARIES = \
+check_LTLIBRARIES += \
     libdlopen_test_providers.la
 
 libdlopen_test_providers_la_SOURCES = \
-- 
1.8.3.1



More information about the sssd-devel mailing list