On Wed, Jul 18, 2018 at 1:49 PM, Junio C Hamano <[email protected]> wrote:
> Jeffrey Walton <[email protected]> writes:
> ...
> diff --git a/Makefile b/Makefile
> index 2ba24035f5..50138e85eb 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -2086,7 +2086,7 @@ $(SCRIPT_PERL_GEN): % : %.perl GIT-PERL-DEFINES
> GIT-PERL-HEADER GIT-VERSION-FILE
> $(QUIET_GEN)$(RM) $@ $@+ && \
> sed -e '1{' \
> -e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \
> - -e ' rGIT-PERL-HEADER' \
> + -e ' r GIT-PERL-HEADER' \
> -e ' G' \
> -e '}' \
> -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
Thanks, that tested good.
Here's another one for FreeBSD 11 x86_64. LDLIBS includes -pthread.
$ cat ~/git-freebsd.txt
LINK git-credential-store
/usr/local/bin/ld: libgit.a(name-hash.o): undefined reference to
symbol 'pthread_create@@FBSD_1.0'
//lib/libthr.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:2329: git-credential-store] Error 1
Jeff