mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Install the header for libmagic.
PR: 73647 Submitted by: Uranus <uranus@it.muds.net>
This commit is contained in:
parent
37c510c7c0
commit
8e6acec2ef
2 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ MAN= libmagic.3 magic.5
|
|||
|
||||
SRCS= apprentice.c apptype.c ascmagic.c compress.c fsmagic.c funcs.c \
|
||||
is_tar.c magic.c print.c readelf.c softmagic.c
|
||||
INCS= magic.h
|
||||
|
||||
MAGICPATH?= /usr/share/misc
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ PROG= file
|
|||
MAGICPATH?= /usr/share/misc
|
||||
|
||||
CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DHAVE_CONFIG_H
|
||||
CFLAGS+= -I${.CURDIR} -I${SRCDIR}
|
||||
CFLAGS+= -I${.CURDIR}
|
||||
|
||||
DPADD= ${LIBMAGIC} ${LIBZ}
|
||||
LDADD= -lmagic -lz
|
||||
|
|
|
|||
Loading…
Reference in a new issue