Skip to content
Snippets Groups Projects
Commit 512687c3 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

build: merged #21,#22

thanks @darix!
fixes #21,#22
parent 26d0d695
No related merge requests found
...@@ -41,6 +41,7 @@ libkres_HEADERS := \ ...@@ -41,6 +41,7 @@ libkres_HEADERS := \
# Dependencies # Dependencies
libkres_DEPEND := $(contrib) libkres_DEPEND := $(contrib)
libkres_CFLAGS := -fvisibility=hidden -fPIC libkres_CFLAGS := -fvisibility=hidden -fPIC
libkres_LDFLAGS := -fvisibility=hidden -fPIC
libkres_LIBS := $(contrib_TARGET) $(libknot_LIBS) $(libdnssec_LIBS) libkres_LIBS := $(contrib_TARGET) $(libknot_LIBS) $(libdnssec_LIBS)
libkres_TARGET := -L$(abspath lib) -lkres libkres_TARGET := -L$(abspath lib) -lkres
...@@ -64,7 +65,8 @@ libkres.pc: ...@@ -64,7 +65,8 @@ libkres.pc:
@echo 'Libs: -L$${libdir} -lkres' >> $@ @echo 'Libs: -L$${libdir} -lkres' >> $@
@echo 'Cflags: -I$${includedir}' >> $@ @echo 'Cflags: -I$${includedir}' >> $@
libkres-pcinstall: libkres.pc libkres-install 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 # Targets
lib: $(libkres) lib: $(libkres)
......
...@@ -26,5 +26,7 @@ ...@@ -26,5 +26,7 @@
/usr/lib{,64}/kdns_modules/tinyweb/ r, /usr/lib{,64}/kdns_modules/tinyweb/ r,
/usr/lib{,64}/kdns_modules/tinyweb/* r, /usr/lib{,64}/kdns_modules/tinyweb/* r,
/var/lib/GeoIP/* r, /var/lib/GeoIP/* r,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.bin.kresd>
} }
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