Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use specificed libtool

  • Loading branch information...
commit 26794dfd6be55340c1f8bbf31c7a0eaf71a78543 1 parent a573708
Ian Holsman authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Makefile
6 src/Makefile
View
@@ -8,19 +8,19 @@ LIBTOOL=/usr/local/apache2/build/libtool
all: libmongo.la
libmongo.la: bson.lo md5.lo mongo.lo numbers.lo
- libtool --silent --mode=link gcc -o $@ ${APR_LIBS} -version-info ${VERSION} -rpath ${INSTALLDIR} bson.lo md5.lo mongo.lo numbers.lo
+ ${LIBTOOL} --silent --mode=link gcc -o $@ ${APR_LIBS} -version-info ${VERSION} -rpath ${INSTALLDIR} bson.lo md5.lo mongo.lo numbers.lo
clean:
rm -f *.o *.slo *.lo *.la
rm -rf .libs
install: libmongo.la
- libtool --silent --mode=install cp $< ${INSTALLDIR}
+ ${LIBTOOL} --silent --mode=install cp $< ${INSTALLDIR}
# ${INSTDSO} SH_LIBTOOL=${LIBTOOL} $< ${INSTALLDIR}
%.lo: %.c bson.h mongo.h
- libtool --silent --mode=compile gcc -prefer-pic ${APR_CFLAGS} -no-cpp-precomp -g -O2 -c -o $@ $<
+ ${LIBTOOL} --silent --mode=compile gcc -prefer-pic ${APR_CFLAGS} -no-cpp-precomp -g -O2 -c -o $@ $<
#x.o: x.c
Please sign in to comment.
Something went wrong with that request. Please try again.