</goals>
<configuration>
<tasks>
- <exec executable="${yaz.path}yaz-config" outputproperty="yaz.cflags">
+ <exec executable="${yaz.config}" outputproperty="yaz.cflags">
<arg value="--cflags" />
</exec>
<echo message="YAZ CFLAGS: ${yaz.cflags}"/>
- <exec executable="${yaz.path}yaz-config" outputproperty="yaz.libs">
+ <exec executable="${yaz.config}" outputproperty="yaz.libs">
<arg value="--libs" />
</exec>
<echo message="YAZ LIBS: ${yaz.libs}"/>
</activation>
<properties>
<platform>win32</platform>
- <yaz.include>C:\Program Files\YAZ\include</yaz.include>
<yaz.path>C:\Program Files\YAZ\</yaz.path>
+ <!-- needed by swig -->
+ <yaz.include>-I${yaz.path}\include</yaz.include>
</properties>
<modules>
<module>win32</module>
</activation>
<properties>
<platform>linux</platform>
- <!-- must include trailing slash if specified-->
- <yaz.path></yaz.path>
+ <!-- yaz-config executable -->
+ <yaz.config>yaz-config</yaz.config>
<javahOS>linux</javahOS>
<jdkIncludePath>${java.home}/../include</jdkIncludePath>
</properties>
</goals>
<configuration>
<tasks>
- <exec executable="${yaz.path}yaz-config"
+ <exec executable="${yaz.config}"
outputproperty="yaz.include">
<arg value="--include" />
</exec>