Add dummy() function to libmisc.a so that that library will never be empty.

OpenSolaris linker does not like empty libs.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2494 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.9
Thomas Beierlein, DL1JBE 2008-12-08 19:54:06 +00:00
rodzic d0cd6f0cfd
commit c6f356914b
2 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -168,6 +168,7 @@ AC_FUNC_ALLOCA
#AC_FUNC_MALLOC
AC_FUNC_VPRINTF
AC_LIBOBJ(termios)
AC_LIBOBJ(dummy)
## ------------------------ ##
## libtool Initialisation. ##

9
lib/dummy.c 100644
Wyświetl plik

@ -0,0 +1,9 @@
/* Dummy function to make sure libmisc never become an empty library.
* Solaris linker does not like such libs.
*/
void dummy(void)
{
}