]>
Commit | Line | Data |
---|---|---|
80240248 ER |
1 | must give hint to libtool which tag to use, in case we use ccache and then |
2 | libtool is unable to autodetect from $CC | |
3 | ||
7933a5f7 JB |
4 | --- apr-1.3.0/configure.in.orig 2008-06-16 22:57:25.596627316 +0200 |
5 | +++ apr-1.3.0/configure.in 2008-06-16 22:58:16.295519834 +0200 | |
6 | @@ -197,9 +197,9 @@ | |
80240248 ER |
7 | [ use_libtool=$withval ], [ use_libtool="yes" ] ) |
8 | ||
9 | if test "x$use_libtool" = "xyes"; then | |
10 | - lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && touch $@' | |
11 | + lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile --tag=CC $(COMPILE) -o $@ -c $< && touch $@' | |
12 | LT_VERSION="-version-info `$get_version libtool $version_hdr APR`" | |
7933a5f7 JB |
13 | - link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(LT_LDFLAGS) \$(COMPILE) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@" |
14 | + link="\$(LIBTOOL) \$(LTFLAGS) --mode=link --tag=CC \$(LT_LDFLAGS) \$(COMPILE) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@" | |
80240248 ER |
15 | so_ext='lo' |
16 | lib_target='-rpath $(libdir) $(OBJECTS)' | |
17 | export_lib_target='-rpath \$(libdir) \$(OBJECTS)' |