From 4e6fd9a7436d61af311ab83b5ec264b37078fe76 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 7 Aug 2010 00:31:08 +0000 Subject: [PATCH] Add an alias for x86_64 Make symlinks depend on the link target --- source/architecture.cpp | 1 + source/symlink.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/source/architecture.cpp b/source/architecture.cpp index cf888f0..9c96e8a 100644 --- a/source/architecture.cpp +++ b/source/architecture.cpp @@ -56,6 +56,7 @@ const char *aliases[] = { "i586", "pentium", "i686", "pentiumpro", + "x86_64", "athlon64", "win32", "windows", 0 }; diff --git a/source/symlink.cpp b/source/symlink.cpp index f962b25..d99f6da 100644 --- a/source/symlink.cpp +++ b/source/symlink.cpp @@ -17,6 +17,7 @@ Symlink::Symlink(Builder &b, const Package &p, FileTarget &t, const string &n): target(t) { buildable = true; + add_depend(&target); } Target *Symlink::get_real_target() -- 2.43.0