aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTadas Vilkeliskis <vilkeliskis.t@gmail.com>2026-06-11 21:09:47 -0400
committerTadas Vilkeliskis <vilkeliskis.t@gmail.com>2026-06-11 21:09:47 -0400
commit8049d751271b37d8f66ea482f96c09a286b9b06c (patch)
tree91d0543a867cd408d531084000436676f47e3538 /tests
parent761d4f8d38cc0e1f5e438cad4a2d33e2ece37a68 (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am5
1 files changed, 2 insertions, 3 deletions
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