epiphany 3.6.1
[git/cygwin-packages/epiphany.git] / 2.30-implib.patch
CommitLineData
221169ea 1--- origsrc/epiphany-2.30.2/configure.ac 2010-04-08 09:55:44.000000000 -0500
2+++ src/epiphany-2.30.2/configure.ac 2010-06-28 03:23:08.182638400 -0500
3@@ -366,6 +366,19 @@ AM_CONDITIONAL([ENABLE_NETWORK_MANAGER],
b20a4079 4 # uninstalled share dir to search data
5 AC_DEFINE_UNQUOTED([SHARE_UNINSTALLED_DIR], ["`pwd`/data"], [path to source data dir])
6
7+case "$host_os" in
8+ cygwin*)
9+ platform_win32=yes
10+ EPHY_IMPLIB="-lepiphany-$EPIPHANY_API_VERSION"
11+ ;;
12+ *)
13+ platform_win32=no
14+ EPHY_IMPLIB=
15+ ;;
16+esac
17+AC_SUBST(EPHY_IMPLIB)
18+AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
19+
20 # *******************************
21 # Add warning flags
22 # *******************************
221169ea 23--- origsrc/epiphany-2.30.2/data/epiphany.pc.in 2010-04-08 09:09:30.000000000 -0500
24+++ src/epiphany-2.30.2/data/epiphany.pc.in 2010-06-28 03:23:08.189638800 -0500
b20a4079 25@@ -13,5 +13,5 @@ Name: Epiphany Browser
26 Description: GNOME Web Browser
27 Version: @VERSION@
56e3a747 28 Requires: gtk+-3.0, libxml-2.0, webkitgtk-3.0
b20a4079 29-Libs: -L${libdir}
30+Libs: -L${libdir} @EPHY_IMPLIB@
31 Cflags: -I${includedir}
221169ea 32--- origsrc/epiphany-2.30.2/src/Makefile.am 2010-04-08 09:09:41.000000000 -0500
33+++ src/epiphany-2.30.2/src/Makefile.am 2010-06-28 03:23:41.821562500 -0500
34@@ -157,6 +157,10 @@ epiphany_CFLAGS = \
b20a4079 35
36 epiphany_LDFLAGS = -dlopen self
37
38+if PLATFORM_WIN32
a4cf9653 39+epiphany_LDFLAGS += -Wl,--out-implib,libepiphany-$(EPIPHANY_API_VERSION).dll.a
b20a4079 40+endif
41+
42 epiphany_LDADD = \
43 libephymain.la \
44 $(top_builddir)/src/bookmarks/libephybookmarks.la \
221169ea 45@@ -368,3 +372,9 @@ Epiphany-$(EPIPHANY_API_VERSION).typelib
b20a4079 46
221169ea 47 endif # HAVE_INTROSPECTION
d60a555e 48 endif # !WITH_WEBKIT2
b20a4079 49+
50+if PLATFORM_WIN32
51+install-data-local:
52+ $(mkinstalldirs) $(DESTDIR)$(libdir)
a4cf9653 53+ $(INSTALL_DATA) libepiphany-$(EPIPHANY_API_VERSION).dll.a $(DESTDIR)$(libdir)
b20a4079 54+endif
This page took 0.024241 seconds and 5 git commands to generate.