summaryrefslogtreecommitdiff
path: root/gcc/config/i386/t-dlldir-x
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/t-dlldir-x')
-rw-r--r--gcc/config/i386/t-dlldir-x9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/i386/t-dlldir-x b/gcc/config/i386/t-dlldir-x
new file mode 100644
index 000000000..07dd845f0
--- /dev/null
+++ b/gcc/config/i386/t-dlldir-x
@@ -0,0 +1,9 @@
+
+# In a cross build, bindir contains host not target binaries, so target DLLs
+# instead go in toolexeclibdir, alongside other target binaries and static libs.
+# Note double quoting to prevent variables from being evaluated until install
+# time; we don't want to expand them during libgcc.mvars generation, and in
+# any case, $toolexeclibdir is not defined in the gcc/ subdirectory, only in
+# target lib directories.
+
+SHLIB_DLLDIR = $$(toolexeclibdir)