From: Tom Stellard <[email protected]>
This makes it possible to use clover with statically linked LLVM.
---
src/gallium/targets/pipe-loader/Makefile.am | 4 ++++
src/gallium/targets/pipe-loader/pipe.link | 3 +++
2 files changed, 7 insertions(+)
create mode 100644 src/gallium/targets/pipe-loader/pipe.link
diff --git a/src/gallium/targets/pipe-loader/Makefile.am
b/src/gallium/targets/pipe-loader/Makefile.am
index e6772b8..7091426 100644
--- a/src/gallium/targets/pipe-loader/Makefile.am
+++ b/src/gallium/targets/pipe-loader/Makefile.am
@@ -22,6 +22,10 @@
include $(top_srcdir)/src/gallium/Automake.inc
+LINKER_SCRIPT=pipe.link
+
+LDFLAGS+=-Wl,$(LINKER_SCRIPT)
+
AM_CPPFLAGS = \
$(GALLIUM_CFLAGS) \
-I$(top_srcdir)/include \
diff --git a/src/gallium/targets/pipe-loader/pipe.link
b/src/gallium/targets/pipe-loader/pipe.link
new file mode 100644
index 0000000..1c98da6
--- /dev/null
+++ b/src/gallium/targets/pipe-loader/pipe.link
@@ -0,0 +1,3 @@
+VERSION {
+ {global: driver_descriptor; local: *; };
+};
--
1.8.1.5
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev