Commit 99c3e7fc authored by deuce's avatar deuce
Browse files

Remove . from the runtime library search path.

If SBBSDIR is defined (ie: Using GNUmakefile install) add $(SBBSDIR)/exec
to the search path.
parent 95806b40
......@@ -83,7 +83,11 @@ MT_CFLAGS += $(SBBSDEFS)
# Set up LD_RUN_PATH for run-time locating of the .so files
PWD := $(shell pwd)
LD_RUN_PATH := .:$(PWD)/$(LIBODIR):$(PWD)/$(JSLIBDIR):$(PWD)/$(NSPRDIR)
ifdef SBBSDIR
LD_RUN_PATH := $(SBBSDIR)/exec:$(PWD)/$(LIBODIR):$(PWD)/$(JSLIBDIR):$(PWD)/$(NSPRDIR)
else
LD_RUN_PATH := $(PWD)/$(LIBODIR):$(PWD)/$(JSLIBDIR):$(PWD)/$(NSPRDIR)
endif
export LD_RUN_PATH
CON_LIBS = -lsbbs -lftpsrvr -lwebsrvr -lmailsrvr -lservices
......
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