From 8049d751271b37d8f66ea482f96c09a286b9b06c Mon Sep 17 00:00:00 2001 From: Tadas Vilkeliskis Date: Thu, 11 Jun 2026 21:09:47 -0400 Subject: build: convert project to standard libtool library with pkg-config - Update tests and examples to link against libcsv_parser.la instead of compiling raw sources directly. - Add csv_parser.pc.in to generate pkg-config file for standard linking and library discovery by other projects. --- tests/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 1cc23f1..2b26bf2 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -3,8 +3,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src noinst_PROGRAMS = test test_LDFLAGS = -lcheck -test_SOURCES = ../src/csv_parser.c \ - ../src/csv_parser.h \ - main.c +test_SOURCES = main.c +test_LDADD = $(top_builddir)/src/libcsv_parser.la TESTS = test -- cgit v1.2.3