From fce978bf4736f1b6f6c03dd935416e44253b7ac2 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Fri, 8 Feb 2008 13:27:58 +0000 Subject: [PATCH] fix for libmagic.la from rrt@ --- src/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 7c7de186..3f064b36 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,9 +5,11 @@ EXTRA_DIST = getopt_long.c bin_PROGRAMS = file +AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"' + # FIXME: Actually run a test on a magic file check_PROGRAMS = test -test_LDADD = -lmagic +test_LDADD = libmagic.la check-local: MAGIC=$(top_builddir)/magic/magic ./test -- 2.50.1