diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-24 12:02:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-24 12:02:11 +0100 |
commit | 0c0ed379d9f34a2d085d9ebf7accf63d48684439 (patch) | |
tree | 47f881d42ed38d686ec8202b7ccc5400f9f6e256 /package/heimdal/Makefile | |
parent | 33f92f3466c9959e73e01f50861495162f681164 (diff) |
try to fix Cygwin cross-compilation
Diffstat (limited to 'package/heimdal/Makefile')
-rw-r--r-- | package/heimdal/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/package/heimdal/Makefile b/package/heimdal/Makefile index 4af746246..d534aca8c 100644 --- a/package/heimdal/Makefile +++ b/package/heimdal/Makefile @@ -69,19 +69,22 @@ CONFIGURE_ENV+= ac_cv_func_getaddrinfo_numserv=yes BUILD_STYLE:= auto INSTALL_STYLE:= auto +ifeq ($(ADK_HOST_CYGWIN),y) +EXEEXT:= .exe +endif + pre-configure: (cd ${WRKBUILD}; rm -rf config.{cache,status} ; \ - CFLAGS="-static" \ ./configure ${CONFIGURE_OPTS} \ ); ${MAKE} -C ${WRKBUILD}/lib/roken ${MAKE} -C ${WRKBUILD}/lib/vers ${MAKE} -C ${WRKBUILD}/lib/editline - ${MAKE} -C ${WRKBUILD}/lib/asn1 asn1_compile - ${MAKE} -C ${WRKBUILD}/lib/sl slc - ${INSTALL_BIN} ${WRKBUILD}/lib/asn1/asn1_compile \ + ${MAKE} -C ${WRKBUILD}/lib/asn1 asn1_compile$(EXEEXT) + ${MAKE} -C ${WRKBUILD}/lib/sl slc$(EXEEXT) + ${INSTALL_BIN} ${WRKBUILD}/lib/asn1/asn1_compile$(EXEEXT) \ ${STAGING_TOOLS}/bin - ${INSTALL_BIN} ${WRKBUILD}/lib/sl/slc \ + ${INSTALL_BIN} ${WRKBUILD}/lib/sl/slc$(EXEEXT) \ ${STAGING_TOOLS}/bin ${MAKE} -C ${WRKBUILD} clean |