Fix for Solaris: you cannot have an empty .a, so supply a no-op .c

file so you at least have _something_.  This is a crock, but it
was easier than making the inclusion of libc-missing.a optional
everywhere.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6837 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-05-08 05:03:31 +00:00
parent 89be52ed5f
commit cfd364a4e2
2 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,7 @@ noinst_HEADERS = \
localtime_r.h strptime.h
# No sources should be listed.
libc_missing_la_SOURCES =
libc_missing_la_SOURCES = libc-missing-noop.c
# This will automatically be filled in with the necessary object file
# names. Configure does this based upon the AC_REPLACE_FUNCS macros.

View File

@ -0,0 +1,6 @@
void gnc_libc_missing_noop (void);
void gnc_libc_missing_noop (void)
{
return;
}