Closed GoogleCodeExporter closed 9 years ago
Which libtool are you using? The one OSX ships takes -static or -dynamic as
first argument.
Original comment by pcnoordh...@gmail.com
on 27 Jan 2011 at 6:18
thanks.. changing the makefile to hard code /usr/bin/libtool
diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile
index ca3404a..6f35b23 100644
--- a/deps/hiredis/Makefile
+++ b/deps/hiredis/Makefile
@@ -21,9 +21,9 @@ else ifeq ($(uname_S),Darwin)
LDFLAGS?=-L. -Wl,-rpath,.
OBJARCH?=-arch i386 -arch x86_64
DYLIBNAME?=libhiredis.dylib
- DYLIB_MAKE_CMD?=libtool -dynamic -o ${DYLIBNAME} -lm ${DEBUG} - ${OBJ}
+ DYLIB_MAKE_CMD?=/usr/bin/libtool -dynamic -o ${DYLIBNAME} -lm ${DEBUG} -
${OBJ}
STLIBNAME?=libhiredis.a
- STLIB_MAKE_CMD?=libtool -static -o ${STLIBNAME} - ${OBJ}
+ STLIB_MAKE_CMD?=/usr/bin/libtool -static -o ${STLIBNAME} - ${OBJ}
else
CFLAGS?=-std=c99 -pedantic $(OPTIMIZATION) -fPIC -Wall -W -Wwrite-strings $(ARCH) $(PROF)
CCLINK?=-lm -pthread
Original comment by i...@holsman.net
on 27 Jan 2011 at 7:10
The default libtool on OSX works, so not changing the Makefile.
Original comment by pcnoordh...@gmail.com
on 6 Mar 2011 at 5:18
Issue 547 has been merged into this issue.
Original comment by pcnoordh...@gmail.com
on 14 Jun 2011 at 7:41
I had a similar problem, MAMP bin directory which I had in PATH also had
libtool.
Original comment by jazeps.basko
on 29 Dec 2011 at 1:28
Could you please consider merging this? It will always crash with macports &
gnutools installed.
It's painful to tweak my path every time I have to install hiredis.
Original comment by olouvig...@gmail.com
on 11 Jun 2013 at 5:42
Original issue reported on code.google.com by
i...@holsman.net
on 27 Jan 2011 at 5:14