Skip to content

Commit

Permalink
Only check for dll's in non static build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Jun 24, 2022
1 parent 2bdd8d0 commit df3c026
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions magick/configure.c
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,7 @@ MagickExport LinkedListInfo *GetConfigurePaths(const char *filename,
char
module_path[MaxTextExtent];

#if defined(_MAGICKDLL_)
if ((NTGetModulePath("CORE_RL_magick_.dll",module_path) != MagickFalse) ||
(NTGetModulePath("CORE_DB_magick_.dll",module_path) != MagickFalse))
{
Expand All @@ -918,6 +919,7 @@ MagickExport LinkedListInfo *GetConfigurePaths(const char *filename,
else
key_value=(unsigned char *) RelinquishMagickMemory(key_value);
}
#endif
if (NTGetModulePath("Magick.dll",module_path) != MagickFalse)
{
/*
Expand Down

0 comments on commit df3c026

Please sign in to comment.