0b3e16abf91c9c746373aaf5ffc49371ba61a8eb
[git/cygwin-packages/epiphany.git] / 2.30-implib.patch
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],
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 # *******************************
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
25 @@ -13,5 +13,5 @@ Name: Epiphany Browser
26 Description: GNOME Web Browser
27 Version: @VERSION@
28 Requires: gtk+-3.0, libxml-2.0, webkitgtk-3.0
29 -Libs: -L${libdir}
30 +Libs: -L${libdir} @EPHY_IMPLIB@
31 Cflags: -I${includedir}
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 = \
35
36 epiphany_LDFLAGS = -dlopen self
37
38 +if PLATFORM_WIN32
39 +epiphany_LDFLAGS += -Wl,--out-implib,libepiphany-$(EPIPHANY_API_VERSION).dll.a
40 +endif
41 +
42 epiphany_LDADD = \
43 libephymain.la \
44 $(top_builddir)/src/bookmarks/libephybookmarks.la \
45 @@ -368,3 +372,9 @@ Epiphany-$(EPIPHANY_API_VERSION).typelib
46 CLEANFILES += $(gir_DATA) $(typelibs_DATA)
47
48 endif # HAVE_INTROSPECTION
49 +
50 +if PLATFORM_WIN32
51 +install-data-local:
52 + $(mkinstalldirs) $(DESTDIR)$(libdir)
53 + $(INSTALL_DATA) libepiphany-$(EPIPHANY_API_VERSION).dll.a $(DESTDIR)$(libdir)
54 +endif
This page took 0.034952 seconds and 4 git commands to generate.