]> git.saurik.com Git - apt.git/blame - ftparchive/makefile
Fix double free (closes: #711045)
[apt.git] / ftparchive / makefile
CommitLineData
b2e465d6
AL
1# -*- make -*-
2BASE=..
3SUBDIR=ftparchive
4
5# Bring in the default rules
6include ../buildlib/defaults.mak
7
8# The apt-ftparchive program
c9569a1e 9ifdef BDBLIB
53ec04bb 10APT_DOMAIN:=apt-utils
b2e465d6 11PROGRAM=apt-ftparchive
8cd53bd4 12SLIBS = -lapt-pkg -lapt-inst $(BDBLIB) $(INTLLIBS)
b2e465d6
AL
13LIB_MAKES = apt-pkg/makefile apt-inst/makefile
14SOURCE = apt-ftparchive.cc cachedb.cc writer.cc contents.cc override.cc \
15 multicompress.cc
16include $(PROGRAM_H)
17else
18PROGRAM=apt-ftparchive
bacc49df 19MESSAGE="Must have libdb to build apt-ftparchive"
b2e465d6 20include $(FAIL_H)
c9569a1e 21endif # ifdef BDBLIB