aboutsummaryrefslogtreecommitdiffstats
path: root/src/native
diff options
context:
space:
mode:
authorIngo Bauersachs <ingo@jitsi.org>2016-05-09 23:30:59 +0200
committerIngo Bauersachs <ingo@jitsi.org>2016-05-09 23:30:59 +0200
commitb1f60554682e9341241123885cb148cac2d1d81a (patch)
tree8bdb3ed246cc080598d712c27656988efa712c67 /src/native
parentce26cc3eda10e352946bca82fad029de0ac7883e (diff)
downloadjitsi-b1f60554682e9341241123885cb148cac2d1d81a.zip
jitsi-b1f60554682e9341241123885cb148cac2d1d81a.tar.gz
jitsi-b1f60554682e9341241123885cb148cac2d1d81a.tar.bz2
Compile and include typelib
Diffstat (limited to 'src/native')
-rw-r--r--src/native/build.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/native/build.xml b/src/native/build.xml
index 1168a15..ad408af 100644
--- a/src/native/build.xml
+++ b/src/native/build.xml
@@ -1,4 +1,4 @@
-<project name="jitsi-native" default="help-native">
+<project name="jitsi-native" default="help-native" xmlns:if="ant:if">
<import file="../../build.xml"/>
<!-- additionnal property -->
@@ -652,6 +652,15 @@
if="is.running.windows"
depends="init-native">
<fail message="OCS 2007 SDK not set!" unless="OCS2007SDK" />
+ <exec executable="windres">
+ <arg value="-i"/>
+ <arg value="${src}\native\windows\msofficecomm\Resources.rc"/>
+ <arg value="-o"/>
+ <arg value="${obj}\jmsofficecommtlb.o"/>
+ <arg value="-F"/>
+ <arg value="pe-i386" if:set="cross_32"/>
+ <arg value="pe-x86-64" if:set="cross_64"/>
+ </exec>
<cc
name="gcc"
objdir="${obj}"
@@ -679,6 +688,7 @@
<libset libs="advapi32, uuid, ole32, oleaut32, msi, stdc++" />
<fileset dir="${src}\native\windows\msofficecomm" includes="*.cxx" />
+ <fileset dir="${obj}" includes="jmsofficecommtlb.o"/>
</cc>
<exec executable="strip">
<arg value="-x"/>