Browse Source

[file] Fixed cross-compilation

early
Alejandro Mery 17 years ago
parent
commit
fa5f64544f
  1. 30
      base/file/hotfix.patch.cross

30
base/file/hotfix.patch.cross

@ -0,0 +1,30 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../file/hotfix.patch.cross
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
There is no rule for FILE_COMPILE when crosscompiling, producing:
make[2]: *** No rule to make target `file', needed by `magic.mgc'. Stop.
--- ./magic/Makefile.in.orig 2008-06-27 22:54:01.000000000 +0300
+++ ./magic/Makefile.in 2008-06-27 22:54:13.000000000 +0300
@@ -566,7 +566,7 @@
uninstall uninstall-am uninstall-pkgdataDATA
-${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE)
+${MAGIC}: $(EXTRA_DIST)
$(FILE_COMPILE) -C -m $(MAGIC_FRAGMENT_DIR)
@mv $(MAGIC_FRAGMENT_BASE).mgc $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
Loading…
Cancel
Save