Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
136ff539
Commit
136ff539
authored
13 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Statically link libcl and libmozjs185 when using the included sources.
parent
e16381d8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
3rdp/build/Common.gmake
+7
-5
7 additions, 5 deletions
3rdp/build/Common.gmake
with
7 additions
and
5 deletions
3rdp/build/Common.gmake
+
7
−
5
View file @
136ff539
...
...
@@ -32,8 +32,8 @@ ifeq ($(os),linux)
NSPR_LIBS += -ldl
endif
NSPR_LDFLAGS += -L/usr/local/lib -L$(NSPRDIR)
-lnspr4
NSPR_LDFLAGS += -L/usr/local/lib -L$(NSPRDIR)
NSPR_LIBS += -lnspr4
################
# Common stuff #
...
...
@@ -82,11 +82,13 @@ ifdef JS_NOBUILD
JSLIB := mozjs185
endif
JS_DEPS :=
JS_LIBS += -l$(JSLIB)
else
JSINCLUDE := $(JS_IDIR)$(DIRSEP)include/js
JSLIBDIR := $(JS_IDIR)$(DIRSEP)lib
JSLIB := mozjs185
JS_DEPS := js
JS_LIBS += $(JSLIBDIR)$(DIRSEP)libmozjs185-1.0.a
endif
# Put it all together...
...
...
@@ -97,7 +99,6 @@ endif
ifdef JSLIBDIR
JS_LDFLAGS += -L$(JSLIBDIR)
endif
JS_LIBS += -l$(JSLIB)
##################
# Cryptlib Stuff #
...
...
@@ -116,10 +117,12 @@ ifdef CRYPTLIB_NOBUILD
# Cryptlib specified on build line #
####################################
CRYPT_DEPS :=
#else
CRYPT_LIBS += -lcl
else
CRYPTLIBINCLUDE := $(CRYPT_IDIR)
CRYPTLIBDIR := $(CRYPT_IDIR)
CRYPT_DEPS := cl
CRYPT_LIBS += $(CRYPT_IDIR)/libcl.a
endif
# Put it all together...
...
...
@@ -130,5 +133,4 @@ endif
ifdef CRYPTLIBDIR
CRYPT_LDFLAGS += -L$(CRYPTLIBDIR)
endif
CRYPT_LIBS += -lcl
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment