@@ -85,7 +85,7 @@ endif
TARGET_CFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/et -pthread
-CONFIGURE_ARGS+= ${CONFIGURE_OPTS} --with-cross-tools=${STAGING_HOST_DIR}/usr/bin
+CONFIGURE_ARGS+= ${CONFIGURE_OPTS} --with-cross-tools=${STAGING_HOST_DIR}/usr/libexec/heimdal
CONFIGURE_ENV+= ac_cv_func_getaddrinfo_numserv=yes
HOST_STYLE:= auto
@@ -0,0 +1,11 @@
+--- heimdal-1.5.3.orig/lib/com_err/Makefile.am 2012-12-09 23:06:44.000000000 +0100
++++ heimdal-1.5.3/lib/com_err/Makefile.am 2014-05-27 11:51:26.000000000 +0200
+@@ -13,7 +13,7 @@ endif
+
+ libcom_err_la_LIBADD = $(LIB_libintl)
+-bin_PROGRAMS = compile_et
++libexec_heimdal_PROGRAMS = compile_et
+ include_HEADERS = com_err.h com_right.h