build from multiple objects: fix other targets

This commit is contained in:
grischka
2009-12-20 20:33:41 +01:00
parent b54862406e
commit 0de95730ad
7 changed files with 36 additions and 13 deletions

View File

@ -111,6 +111,13 @@ static void tcc_set_lib_path_w32(TCCState *s)
tcc_set_lib_path(s, path);
}
#ifndef CONFIG_TCC_STATIC
void dlclose(void *p)
{
FreeLibrary((HMODULE)p);
}
#endif
#ifdef LIBTCC_AS_DLL
BOOL WINAPI DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
{