Commit 38ea11b9 authored by deuce's avatar deuce
Browse files

Add SUNfw path to libstdc++.so to LD_RUN_PATH on Solaris.

parent 1719b8ed
......@@ -85,9 +85,17 @@ MT_CFLAGS += $(SBBSDEFS)
# Set up LD_RUN_PATH for run-time locating of the .so files
PWD := $(shell pwd)
ifdef SBBSDIR
LD_RUN_PATH := $(SBBSDIR)/exec:$(PWD)/$(LIBODIR):$(PWD)/$(JSLIBDIR):$(PWD)/$(NSPRDIR)
ifeq ($(os),sunos)
LD_RUN_PATH := $(SBBSDIR)/exec:$(PWD)/$(LIBODIR):$(PWD)/$(JSLIBDIR):$(PWD)/$(NSPRDIR):/opt/sfw/gcc-3/lib
else
LD_RUN_PATH := $(SBBSDIR)/exec:$(PWD)/$(LIBODIR):$(PWD)/$(JSLIBDIR):$(PWD)/$(NSPRDIR)
endif
else
LD_RUN_PATH := $(PWD)/$(LIBODIR):$(PWD)/$(JSLIBDIR):$(PWD)/$(NSPRDIR)
ifeq ($(os),sunos)
LD_RUN_PATH := $(PWD)/$(LIBODIR):$(PWD)/$(JSLIBDIR):$(PWD)/$(NSPRDIR):/opt/sfw/gcc-3/lib
else
LD_RUN_PATH := $(PWD)/$(LIBODIR):$(PWD)/$(JSLIBDIR):$(PWD)/$(NSPRDIR)
endif
endif
export LD_RUN_PATH
......
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