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
881fcb77
Unverified
Commit
881fcb77
authored
May 14, 2018
by
Ryan Schmidt
Committed by
GitHub
May 14, 2018
Browse files
Use absolute install_name
Fixes #437.
parent
c1af0e84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
881fcb77
...
...
@@ -63,7 +63,7 @@ endif
ifeq
($(uname_S),Darwin)
DYLIBSUFFIX
=
dylib
DYLIB_MINOR_NAME
=
$(LIBNAME)
.
$(HIREDIS_SONAME)
.
$(DYLIBSUFFIX)
DYLIB_MAKE_CMD
=
$(CC)
-shared
-Wl
,-install_name,
$(DYLIB_MINOR_NAME)
-o
$(DYLIBNAME)
$(LDFLAGS)
DYLIB_MAKE_CMD
=
$(CC)
-shared
-Wl
,-install_name,
$(
PREFIX)
/
$(LIBRARY_PATH)$(
DYLIB_MINOR_NAME)
-o
$(DYLIBNAME)
$(LDFLAGS)
endif
all
:
$(DYLIBNAME) $(STLIBNAME) hiredis-test $(PKGCONFNAME)
...
...
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