summaryrefslogtreecommitdiff
path: root/libcroco
diff options
context:
space:
mode:
authorMichael Stahl <mst@apache.org>2011-09-17 21:34:18 +0000
committerMichael Stahl <mst@apache.org>2011-09-17 21:34:18 +0000
commit01296a0e5b4fa896b734d3af8d31f5b7c65cc018 (patch)
tree6a40607c98105b4a22b01026605782c80f9358a1 /libcroco
parentaef3baf1e1316af31d7657953cdf62cabc527c7b (diff)
mingwport35: i#117794: MinGW port fix for rsvglibs
# HG changeset patch # User tono@openoffice.org # Date 1302529333 -32400 # Node ID 4bb59a76c6af417e85e78837d66e601f9082fff2 # Parent 315be8282fa3b83477a1f5120fa3516d066d689f
Diffstat (limited to 'libcroco')
-rw-r--r--libcroco/libcroco-0.6.2-mingw.patch25
-rw-r--r--libcroco/makefile.mk3
2 files changed, 28 insertions, 0 deletions
diff --git a/libcroco/libcroco-0.6.2-mingw.patch b/libcroco/libcroco-0.6.2-mingw.patch
new file mode 100644
index 000000000000..91d456c0c70d
--- /dev/null
+++ b/libcroco/libcroco-0.6.2-mingw.patch
@@ -0,0 +1,25 @@
+--- misc/libcroco-0.6.2/src/makefile.mk Wed Aug 20 14:33:55 2008
++++ misc/build/libcroco-0.6.2/src/makefile.mk Wed Aug 20 14:26:42 2008
+@@ -76,16 +76,16 @@
+ SHL1TARGET= $(TARGET)
+ SHL1OBJS=$(SLOFILES)
+ SHL1STDLIBS=\
+- gio-2.0.lib \
+- gobject-2.0.lib \
+- gthread-2.0.lib \
+- glib-2.0.lib \
+- intl.lib \
++ -lgio-2.0 \
++ -lgobject-2.0 \
++ -lgthread-2.0 \
++ -lglib-2.0 \
++ -lintl \
+ $(LIBXML2LIB)
+
+
+ SHL1DEPN=
+-#SHL1IMPLIB=$(TARGET)
++SHL1IMPLIB=$(TARGET)
+ #SHL1USE_EXPORTS=name
+
+ SHL1DEF= $(MISC)$/$(SHL1TARGET).def
diff --git a/libcroco/makefile.mk b/libcroco/makefile.mk
index d5c84d517190..6432a6a2abca 100644
--- a/libcroco/makefile.mk
+++ b/libcroco/makefile.mk
@@ -103,6 +103,9 @@ OUT2INC+=src$/libcroco.h
BUILD_ACTION=dmake
BUILD_DIR=$(CONFIGURE_DIR)$/src
PATCH_FILES=libcroco-0.6.2.patch
+.IF "$(COM)"=="GCC"
+PATCH_FILES+=libcroco-0.6.2-mingw.patch
+.ENDIF
ADDITIONAL_FILES=\
src$/makefile.mk