msvc: Move linker pragma from config.h to libavutil/internal.h
This makes linking succeed for tools that include config.h but don't link to libavutil. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
5
configure
vendored
5
configure
vendored
@@ -4089,11 +4089,6 @@ fi
|
||||
|
||||
enabled getenv || echo "#define getenv(x) NULL" >> $TMPH
|
||||
|
||||
if enabled msvc && ! enabled shared; then
|
||||
echo '#pragma comment(linker, "/include:"EXTERN_PREFIX"avpriv_strtod")' >> $TMPH
|
||||
echo '#pragma comment(linker, "/include:"EXTERN_PREFIX"avpriv_snprintf")' >> $TMPH
|
||||
fi
|
||||
|
||||
print_config ARCH_ "$config_files" $ARCH_LIST
|
||||
print_config HAVE_ "$config_files" $HAVE_LIST
|
||||
print_config CONFIG_ "$config_files" $CONFIG_LIST \
|
||||
|
||||
Reference in New Issue
Block a user