Commit 512687c3 authored by Marek Vavruša's avatar Marek Vavruša

build: merged #21,#22

thanks @darix!
fixes #21,#22
parent 26d0d695
......@@ -41,6 +41,7 @@ libkres_HEADERS := \
# Dependencies
libkres_DEPEND := $(contrib)
libkres_CFLAGS := -fvisibility=hidden -fPIC
libkres_LDFLAGS := -fvisibility=hidden -fPIC
libkres_LIBS := $(contrib_TARGET) $(libknot_LIBS) $(libdnssec_LIBS)
libkres_TARGET := -L$(abspath lib) -lkres
......@@ -64,7 +65,8 @@ libkres.pc:
@echo 'Libs: -L$${libdir} -lkres' >> $@
@echo 'Cflags: -I$${includedir}' >> $@
libkres-pcinstall: libkres.pc libkres-install
$(INSTALL) -m 644 $< $(DESTDIR)$(LIBDIR)/pkgconfig
$(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)/pkgconfig/
$(INSTALL) -m 644 $< $(DESTDIR)$(LIBDIR)/pkgconfig/
# Targets
lib: $(libkres)
......
......@@ -26,5 +26,7 @@
/usr/lib{,64}/kdns_modules/tinyweb/ r,
/usr/lib{,64}/kdns_modules/tinyweb/* r,
/var/lib/GeoIP/* r,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.bin.kresd>
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment