gtk+ r20098 - branches/gtk-2-12/gdk-pixbuf
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20098 - branches/gtk-2-12/gdk-pixbuf
- Date: Mon, 12 May 2008 09:50:36 +0100 (BST)
Author: tml
Date: Mon May 12 08:50:36 2008
New Revision: 20098
URL: http://svn.gnome.org/viewvc/gtk+?rev=20098&view=rev
Log:
2008-05-12 Tor Lillqvist <tml novell com>
Bug 532558 - Cannot build dll when using separate builddir
* Makefile.am: .def file belongs in $(srcdir). Patch by Marko
Lindqvist.
Modified:
branches/gtk-2-12/gdk-pixbuf/ChangeLog
branches/gtk-2-12/gdk-pixbuf/Makefile.am
Modified: branches/gtk-2-12/gdk-pixbuf/Makefile.am
==============================================================================
--- branches/gtk-2-12/gdk-pixbuf/Makefile.am (original)
+++ branches/gtk-2-12/gdk-pixbuf/Makefile.am Mon May 12 08:50:36 2008
@@ -7,7 +7,7 @@
if OS_WIN32
gdk_pixbuf_def = gdk_pixbuf.def
-gdk_pixbuf_symbols = -export-symbols gdk_pixbuf.def
+gdk_pixbuf_symbols = -export-symbols $(srcdir)/gdk_pixbuf.def
gdk_pixbuf_win32_res = gdk_pixbuf-win32-res.o
gdk_pixbuf_win32_res_ldflag = -Wl,gdk_pixbuf-win32-res.o
@@ -16,7 +16,7 @@
$(WINDRES) gdk_pixbuf.rc $@
install-def-file:
- $(INSTALL) gdk_pixbuf.def $(DESTDIR)$(libdir)/gdk_pixbuf-$(GTK_API_VERSION).def
+ $(INSTALL) $(srcdir)/gdk_pixbuf.def $(DESTDIR)$(libdir)/gdk_pixbuf-$(GTK_API_VERSION).def
uninstall-def-file:
-rm $(DESTDIR)$(libdir)/gdk_pixbuf-$(GTK_API_VERSION).def
else
@@ -40,8 +40,10 @@
uninstall-ms-lib:
endif
+# This places the generated .def file in srcdir, since it is expected to be there.
+# (The one from a tarball is)
gdk_pixbuf.def: gdk-pixbuf.symbols
- (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gdk-pixbuf.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g') > gdk_pixbuf.def
+ (echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gdk-pixbuf.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g') > $(srcdir)/gdk_pixbuf.def
gdk-pixbuf-alias.h: gdk-pixbuf.symbols
$(PERL) $(srcdir)/makegdkpixbufalias.pl < $(srcdir)/gdk-pixbuf.symbols > gdk-pixbuf-alias.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]