2
0
mirror of https://github.com/majn/telegram-purple synced 2025-08-31 05:55:07 +00:00

Windows: Use DWARF2 on MinGW

This is a C plugin for a C program, so let's hope this JustWorks™.
This commit is contained in:
Ben Wiederhake
2020-12-28 19:37:45 +01:00
parent 6a06fbf351
commit 814442b706
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ WIN32_INC=-I${WIN32_PIDGIN_SRC_DIR}/pidgin \
-I${WIN32_GTK_BUNDLE_DIR}/include/gtk-2.0 \ -I${WIN32_GTK_BUNDLE_DIR}/include/gtk-2.0 \
-I${WIN32_GTK_BUNDLE_DIR}/lib/gtk-2.0/include \ -I${WIN32_GTK_BUNDLE_DIR}/lib/gtk-2.0/include \
-Iobjs/webp/install/include -Iobjs/webp/install/include
WIN32_CONTRIB_FILES=contrib/libgcrypt-20.dll contrib/libgpg-error-0.dll contrib/libgcc_s_sjlj-1.dll WIN32_CONTRIB_FILES=contrib/libgcrypt-20.dll contrib/libgpg-error-0.dll contrib/libgcc_s_dw2-1.dll
CFLAGS_INTL=-DENABLE_NLS -DLOCALEDIR='"$(localedir)"' CFLAGS_INTL=-DENABLE_NLS -DLOCALEDIR='"$(localedir)"'
CFLAGS_WARN=-Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter CFLAGS_WARN=-Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter
@@ -294,7 +294,7 @@ contrib/libgcrypt-20.dll: /usr/i686-w64-mingw32/bin/libgcrypt-20.dll | contrib
contrib/libgpg-error-0.dll: /usr/i686-w64-mingw32/bin/libgpg-error-0.dll | contrib contrib/libgpg-error-0.dll: /usr/i686-w64-mingw32/bin/libgpg-error-0.dll | contrib
cp $< "$@" cp $< "$@"
contrib/libgcc_s_sjlj-1.dll: /usr/lib/gcc/i686-w64-mingw32/*-win32/libgcc_s_sjlj-1.dll | contrib contrib/libgcc_s_dw2-1.dll: /usr/lib/gcc/i686-w64-mingw32/*-win32/libgcc_s_dw2-1.dll | contrib
cp $< "$@" cp $< "$@"

View File

@@ -97,7 +97,7 @@ Section "MainSection" SEC01
File "${WIN32_DEV_TOP}\libgpg-error-0.dll" File "${WIN32_DEV_TOP}\libgpg-error-0.dll"
File "${WIN32_DEV_TOP}\libgcrypt-20.dll" File "${WIN32_DEV_TOP}\libgcrypt-20.dll"
或File "${WIN32_DEV_TOP}\libwebp-7.dll" 或File "${WIN32_DEV_TOP}\libwebp-7.dll"
File "${WIN32_DEV_TOP}\libgcc_s_sjlj-1.dll" File "${WIN32_DEV_TOP}\libgcc_s_dw2-1.dll"
SectionEnd SectionEnd
Function GetPidginInstPath Function GetPidginInstPath