Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Synchronet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main
Synchronet
Compare Revisions
7aec5e0e0b5f2c5c61094822d1463dbbab4e44e1...5cc4cf895ff4f580ca9c843e83168590466f1050
Source
5cc4cf895ff4f580ca9c843e83168590466f1050
Select Git revision
...
Target
7aec5e0e0b5f2c5c61094822d1463dbbab4e44e1
Select Git revision
Compare
Commits (1)
Add a NO_LD_RUN_PATH option to avoid linking in an rpath.
· 5cc4cf89
Deuce
authored
Dec 19, 2020
5cc4cf89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
src/sbbs3/GNUmakefile
src/sbbs3/GNUmakefile
+16
-14
No files found.
src/sbbs3/GNUmakefile
View file @
5cc4cf89
...
...
@@ -64,24 +64,26 @@ endif
include
sbbsdefs.mk
MT_CFLAGS
+=
$(SBBSDEFS)
# Set up LD_RUN_PATH for run-time locating of the .so files
ifdef
SBBSDIR
ifeq
($(os),sunos)
LD_RUN_PATH
:=
$(SBBSDIR)
/exec:
$(LIBODIR)
:
$(JSLIBDIR)
:
$(NSPRDIR)
:
$(CRYPTLIBDIR)
:/opt/sfw/gcc-3/lib
ifndef
NO_LD_RUN_PATH
# Set up LD_RUN_PATH for run-time locating of the .so files
ifdef
SBBSDIR
ifeq
($(os),sunos)
LD_RUN_PATH
:=
$(SBBSDIR)
/exec:
$(LIBODIR)
:
$(JSLIBDIR)
:
$(NSPRDIR)
:
$(CRYPTLIBDIR)
:/opt/sfw/gcc-3/lib
else
LD_RUN_PATH
:=
$(SBBSDIR)
/exec:
$(LIBODIR)
:
$(JSLIBDIR)
:
$(NSPRDIR)
:
$(CRYPTLIBDIR)
endif
else
LD_RUN_PATH
:=
$(SBBSDIR)
/exec:
$(LIBODIR)
:
$(JSLIBDIR)
:
$(NSPRDIR)
:
$(CRYPTLIBDIR)
ifeq
($(os),sunos)
LD_RUN_PATH
:=
$(PWD)
/
$(LIBODIR)
:
$(JSLIBDIR)
:
$(NSPRDIR)
:
$(CRYPTLIBDIR)
:/opt/sfw/gcc-3/lib
else
LD_RUN_PATH
:=
$(PWD)
/
$(LIBODIR)
:
$(JSLIBDIR)
:
$(NSPRDIR)
:
$(CRYPTLIBDIR)
endif
endif
else
ifeq
($(os),sunos)
LD_RUN_PATH
:=
$(PWD)
/
$(LIBODIR)
:
$(JSLIBDIR)
:
$(NSPRDIR)
:
$(CRYPTLIBDIR)
:/opt/sfw/gcc-3/lib
else
LD_RUN_PATH
:=
$(PWD)
/
$(LIBODIR)
:
$(JSLIBDIR)
:
$(NSPRDIR)
:
$(CRYPTLIBDIR)
export
LD_RUN_PATH
ifeq
($(CCPRE),clang)
LDFLAGS
+=
-rpath
$(LD_RUN_PATH)
endif
endif
export
LD_RUN_PATH
ifeq
($(CCPRE),clang)
LDFLAGS
+=
-rpath
$(LD_RUN_PATH)
endif
CON_LIBS
+=
-lsbbs
-lftpsrvr
-lwebsrvr
-lmailsrvr
-lservices
SHLIBOPTS
:=
-shared
...
...