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

Add a NO_LD_RUN_PATH option to avoid linking in an rpath.

parent 7aec5e0e
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1046 passed
...@@ -64,6 +64,7 @@ endif ...@@ -64,6 +64,7 @@ endif
include sbbsdefs.mk include sbbsdefs.mk
MT_CFLAGS += $(SBBSDEFS) MT_CFLAGS += $(SBBSDEFS)
ifndef NO_LD_RUN_PATH
# Set up LD_RUN_PATH for run-time locating of the .so files # Set up LD_RUN_PATH for run-time locating of the .so files
ifdef SBBSDIR ifdef SBBSDIR
ifeq ($(os),sunos) ifeq ($(os),sunos)
...@@ -82,6 +83,7 @@ export LD_RUN_PATH ...@@ -82,6 +83,7 @@ export LD_RUN_PATH
ifeq ($(CCPRE),clang) ifeq ($(CCPRE),clang)
LDFLAGS += -rpath $(LD_RUN_PATH) LDFLAGS += -rpath $(LD_RUN_PATH)
endif endif
endif
CON_LIBS += -lsbbs -lftpsrvr -lwebsrvr -lmailsrvr -lservices CON_LIBS += -lsbbs -lftpsrvr -lwebsrvr -lmailsrvr -lservices
SHLIBOPTS := -shared SHLIBOPTS := -shared
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment