Improve the pkgconfig generation logic

The destination directory may not exist, so we need to mkdir just
in case.
test2
Ole André Vadla Ravnås 10 years ago
parent cf959c0711
commit 495a4f5df9
  1. 1
      Makefile

@ -466,6 +466,7 @@ endef
define generate-pkgcfg
mkdir -p $(BLDIR)
echo 'Name: capstone' > $(PKGCFGF)
echo 'Description: Capstone disassembly engine' >> $(PKGCFGF)
echo 'Version: $(PKG_VERSION)' >> $(PKGCFGF)

Loading…
Cancel
Save