summaryrefslogtreecommitdiff
path: root/redland/raptor
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-01 13:00:09 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-01 15:51:32 +0100
commit2fb1fe6c24a62b954f3a4bbdb5628d94269df946 (patch)
tree07933b7abae324b88be744372cb3ca039bd9ff02 /redland/raptor
parent2824a8b40289344c788c3b18f2e33f2e238eeff8 (diff)
get redland built with mingw
Do not ask me how or why this works. There are things man was not meant to know.
Diffstat (limited to 'redland/raptor')
-rw-r--r--redland/raptor/makefile.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk
index 6a959557528d..d898f94793de 100644
--- a/redland/raptor/makefile.mk
+++ b/redland/raptor/makefile.mk
@@ -102,6 +102,14 @@ BUILD_ACTION=dmake
BUILD_DIR=$(CONFIGURE_DIR)$/src
.ENDIF
+# Hack to get librdf.dll linked on mingw. I am already wearied of
+# fighting libtool's pseudo-intelligence, so I am just going to go with
+# the flow here.
+ALL : $(OUT)/lib/libraptor.la
+
+$(OUT)/lib/libraptor.la : $(MISC)/build/so_built_so_raptor
+ $(SED) "/^dlname/s@='@='../bin/@" $(MISC)/build/$(TARFILE_NAME)/src/libraptor.la > $@
+
.ELSE # "WNT"
.IF "$(OS)$(COM)"=="LINUXGCC" || "$(OS)$(COM)"=="FREEBSDGCC"