From: Christos Zoulas Date: Fri, 8 Feb 2008 13:27:58 +0000 (+0000) Subject: fix for libmagic.la from rrt@ X-Git-Tag: FILE5_05~523 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fce978bf4736f1b6f6c03dd935416e44253b7ac2;p=file fix for libmagic.la from rrt@ --- 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