]> granicus.if.org Git - file/commitdiff
fix for libmagic.la from rrt@
authorChristos Zoulas <christos@zoulas.com>
Fri, 8 Feb 2008 13:27:58 +0000 (13:27 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 8 Feb 2008 13:27:58 +0000 (13:27 +0000)
src/Makefile.am

index 7c7de186245a761f9b3df418b7f4e9f7735717d6..3f064b366dcf4504d7570cd4c37a3c8905b3922c 100644 (file)
@@ -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