Mercurial > pidgin
diff plugins/Makefile.mingw @ 5932:bb7723f0b4b9
[gaim-migrate @ 6372]
Changed dll build rules in the mingw makefiles. Plugins will no
longer crash when built with the '-g' compile flag and plugin crashes will
now produce the correct debug info.
committer: Tailor Script <tailor@pidgin.im>
| author | Herman Bloggs <hermanator12002@yahoo.com> |
|---|---|
| date | Sat, 21 Jun 2003 01:03:23 +0000 |
| parents | 809ef68273c8 |
| children | 7c98adb00f3a |
line wrap: on
line diff
--- a/plugins/Makefile.mingw Sat Jun 21 01:01:12 2003 +0000 +++ b/plugins/Makefile.mingw Sat Jun 21 01:03:23 2003 +0000 @@ -62,7 +62,14 @@ ## LIBRARIES ## -LIBS = -lgtk-win32-2.0 -lglib-2.0 -lgdk-win32-2.0 -lgobject-2.0 -lgmodule-2.0 -lintl -lws2_32 -liberty -lgaim +LIBS = -lgtk-win32-2.0 \ + -lglib-2.0 \ + -lgdk-win32-2.0 \ + -lgobject-2.0 \ + -lgmodule-2.0 \ + -lintl \ + -lws2_32 \ + -lgaim ## ## RULES @@ -92,12 +99,8 @@ # .c.dll: - $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o tmp$@.o -c $< - dlltool -D $@ -z $@.def tmp$@.o - $(CC) -mdll -o junk.tmp -Wl,--base-file,$@.base tmp$@.o $(LIB_PATHS) $(LIBS) - dlltool -D $@ -b $@.base -e $@.exp -d $@.def - $(CC) -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS) - rm -rf $@.base $@.def $@.exp junk.tmp + $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< + $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ plugins: iconaway.dll spellchk.dll autorecon.dll
