Skip to content
Snippets Groups Projects
Commit 0f21cba9 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Include absolute rpath

It appears that setcap may cause $ORIGIN to stop working for some
unknown reason.
parent ad3236e3
No related branches found
No related tags found
No related merge requests found
Pipeline #7829 passed
......@@ -126,7 +126,12 @@ include sbbsdefs.mk
MT_CFLAGS += $(SBBSDEFS) $(SFTP-MT_CFLAGS)
ifneq ($(os),darwin)
LIB_RPATH := '-Wl,-rpath,$$ORIGIN,-rpath,$$ORIGIN/../$(LIBODIR),-z,origin'
ifdef SBBSDIR
LIB_RPATH += -Wl,-rpath,$(LIBODIR)
else
LIB_RPATH += -Wl,-rpath,$(PWD)/$(LIBODIR)
endif
LIB_RPATH := '-Wl,-rpath,$$ORIGIN,-rpath,$$ORIGIN/../$(LIBODIR),-z,origin,--enable-new-dtags'
endif
CON_LIBS += -lsbbs -lftpsrvr -lwebsrvr -lmailsrvr -lservices
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment