bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

git-merge-changelog: fix link error


From: Bruno Haible
Subject: git-merge-changelog: fix link error
Date: Fri, 11 Apr 2008 13:30:04 +0200
User-agent: KMail/1.5.4

The git-merge-changelog does not link on MacOS X:

gcc -std=gnu99  -g -O2   -o git-merge-changelog git-merge-changelog.o libgnu.a 
-lm  
Undefined symbols:
  "_libintl_gettext", referenced from:
      _xalloc_die in libgnu.a(xalloc-die.o)
      _error_tail in libgnu.a(error.o)
      __getopt_internal_r in libgnu.a(getopt.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

This should fix it:

2008-04-11  Bruno Haible  <address@hidden>

        * modules/git-merge-changelog (git_merge_changelog_LDADD): Add LIBINTL.

*** modules/git-merge-changelog.orig    2008-04-11 13:26:41.000000000 +0200
--- modules/git-merge-changelog 2008-04-11 13:26:19.000000000 +0200
***************
*** 26,32 ****
  
  Makefile.am:
  bin_PROGRAMS = git-merge-changelog
! git_merge_changelog_LDADD = libgnu.a
  
  Include:
  
--- 26,32 ----
  
  Makefile.am:
  bin_PROGRAMS = git-merge-changelog
! git_merge_changelog_LDADD = libgnu.a @LIBINTL@
  
  Include:
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]