From 65ae9e277cf77952608dc05b7cf52db535a2b90d Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 30 Dec 2013 19:05:12 +0100 Subject: [PATCH] src/Makefile: Use LTLIBRARIES for libsysdb_scanner. --- src/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 6c257bb..53f4efb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -40,6 +40,7 @@ pkgclientinclude_HEADERS = \ include/client/sysdb.h lib_LTLIBRARIES = libsysdbclient.la libsysdb.la +noinst_LTLIBRARIES = libsysdbclient_la_SOURCES = \ client/client.c include/client/sysdb.h \ @@ -87,14 +88,14 @@ if BUILD_CLIENT bin_PROGRAMS += sysdb # don't use strict CFLAGS for flex code -noinst_LIBRARIES = libsysdb_scanner.a -libsysdb_scanner_a_SOURCES = tools/sysdb/scanner.l -libsysdb_scanner_a_CFLAGS = -DBUILD_DATE="\"$$( date --utc '+%F %T' ) (UTC)\"" +noinst_LTLIBRARIES += libsysdb_scanner.la +libsysdb_scanner_la_SOURCES = tools/sysdb/scanner.l +libsysdb_scanner_la_CFLAGS = -DBUILD_DATE="\"$$( date --utc '+%F %T' ) (UTC)\"" sysdb_SOURCES = tools/sysdb/main.c include/client/sysdb.h \ tools/sysdb/input.c tools/sysdb/input.h sysdb_CFLAGS = -DBUILD_DATE="\"$$( date --utc '+%F %T' ) (UTC)\"" \ $(AM_CFLAGS) @READLINE_CFLAGS@ -sysdb_LDADD = libsysdb_scanner.a libsysdbclient.la @READLINE_LIBS@ +sysdb_LDADD = libsysdb_scanner.la libsysdbclient.la @READLINE_LIBS@ endif sysdbd_SOURCES = tools/sysdbd/main.c include/sysdb.h \ -- 2.30.2