Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
2cb203c1
Unverified
Commit
2cb203c1
authored
Apr 23, 2020
by
Michael Grunder
Committed by
GitHub
Apr 23, 2020
Browse files
Attempt to fix compilation on Solaris (#796)
See #757
parent
7e2ee7c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
2cb203c1
...
...
@@ -80,8 +80,14 @@ else
endif
ifeq
($(uname_S),SunOS)
IS_SUN_CC
=
$(
shell
sh
-c
'
$(CC)
-V 2>&1 |egrep -i -c "sun|studio"'
)
ifeq
($(IS_SUN_CC),1)
SUN_SHARED_FLAG
=
-G
else
SUN_SHARED_FLAG
=
-shared
endif
REAL_LDFLAGS
+=
-ldl
-lnsl
-lsocket
DYLIB_MAKE_CMD
=
$(CC)
-G
-o
$(DYLIBNAME)
-h
$(DYLIB_MINOR_NAME)
$(LDFLAGS)
DYLIB_MAKE_CMD
=
$(CC)
$(SUN_SHARED_FLAG)
-o
$(DYLIBNAME)
-h
$(DYLIB_MINOR_NAME)
$(LDFLAGS)
endif
ifeq
($(uname_S),Darwin)
DYLIBSUFFIX
=
dylib
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment