Skip to content
Snippets Groups Projects
Commit 5d9295e0 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

Merge !338: make: add -rpath when linking to find libkres

parents 70af4607 1d8b5706
Branches
Tags
1 merge request!338make: add -rpath when linking to find libkres
Pipeline #11252 canceled with stages
in 1 hour and 16 minutes
......@@ -28,7 +28,7 @@ XXD_LUA := ./scripts/embed-lua.sh
INSTALL := install
# Flags
BUILD_LDFLAGS += $(LDFLAGS)
BUILD_LDFLAGS += "-Wl,-rpath=$(LIBDIR)" $(LDFLAGS)
BUILD_CFLAGS := $(CFLAGS) -std=c99 -D_GNU_SOURCE -Wno-unused -Wtype-limits -Wformat -Wformat-security -Wall -I$(abspath .) -I$(abspath lib/generic) -I$(abspath contrib) -I$(abspath contrib/lmdb)
BUILD_CFLAGS += -DPACKAGE_VERSION="\"$(VERSION)\"" -DPREFIX="\"$(PREFIX)\"" -DMODULEDIR="\"$(MODULEDIR)\""
ifeq (,$(findstring -O,$(CFLAGS)))
......
......@@ -144,6 +144,12 @@ The watchdog process must notify kresd about active file descriptors, and kresd
The daemon also supports `systemd socket activation`_, it is automatically detected and requires no configuration on users's side.
To run the daemon by hand, such as under ``nohup``, use ``-f 1`` to start a single fork. For example:
.. code-block:: bash
$ nohup ./daemon/kresd -a 127.0.0.1 -f 1 &
Configuration
=============
......
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