From 7c3204fc7d6c2445d7eee3241b24d741a96e271d Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Tue, 16 Jun 2020 15:43:32 -0400 Subject: Tutorial: Correct Step9 wording on some platforms -fPIC is implicit so you won't get an error --- Help/guide/tutorial/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Help/guide/tutorial/index.rst b/Help/guide/tutorial/index.rst index 6e26de9..eb81ee5 100644 --- a/Help/guide/tutorial/index.rst +++ b/Help/guide/tutorial/index.rst @@ -703,7 +703,7 @@ Finally, update ``MathFunctions/MathFunctions.h`` to use dll export defines: .. literalinclude:: Step10/MathFunctions/MathFunctions.h :language: c++ -At this point, if you build everything, you will notice that linking fails +At this point, if you build everything, you may notice that linking fails as we are combining a static library without position independent code with a library that has position independent code. The solution to this is to explicitly set the :prop_tgt:`POSITION_INDEPENDENT_CODE` target property of -- cgit v0.12