~ubuntu-branches/debian/sid/radare2-bindings/sid

« back to all changes in this revision

Viewing changes to do-swig.sh

  • Committer: Package Import Robot
  • Author(s): David Martínez Moreno
  • Date: 2014-01-04 01:39:49 UTC
  • Revision ID: package-import@ubuntu.com-20140104013949-hchd39wga9kgma2u
Tags: 0.9.6-3
* debian/control: Switched Sebastian and myself as Maintainer/Uploader.
* debian/patches/04_add_openjdk_includedir: Change the javahelper script
  output to just the output of dpkg-architecture -qDEB_HOST_ARCH.  Otherwise
  it FTBFS in armel, armhf, powerpc and powerpcsp.  Thanks to Roland Stigge
  for the bug report (closes: #733982).

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
        ;;
25
25
java)
26
26
        export SWIGFLAGS="-package org.radare.radare2 -outdir ${R2_JAVA_DIR}"
27
 
        JAVA_ARCH=$(/usr/share/javahelper/java-arch.sh)
 
27
        JAVA_ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
28
28
        VALABINDFLAGS="${VALABINDFLAGS} -I/usr/lib/jvm/java-7-openjdk-${JAVA_ARCH}/include"
29
29
        VBMODE=--swig
30
30
        ;;