summaryrefslogtreecommitdiffstats
path: root/src/jaegertracing/opentracing-cpp/cmake/weak_symbol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jaegertracing/opentracing-cpp/cmake/weak_symbol.cpp')
-rw-r--r--src/jaegertracing/opentracing-cpp/cmake/weak_symbol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jaegertracing/opentracing-cpp/cmake/weak_symbol.cpp b/src/jaegertracing/opentracing-cpp/cmake/weak_symbol.cpp
new file mode 100644
index 000000000..902f683ae
--- /dev/null
+++ b/src/jaegertracing/opentracing-cpp/cmake/weak_symbol.cpp
@@ -0,0 +1,3 @@
+void __attribute((weak)) f();
+
+int main() { return 0; }