summaryrefslogtreecommitdiff
path: root/docs/users_guide/shared_libs.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/shared_libs.rst')
-rw-r--r--docs/users_guide/shared_libs.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users_guide/shared_libs.rst b/docs/users_guide/shared_libs.rst
index 486df51ad9..7e525019ca 100644
--- a/docs/users_guide/shared_libs.rst
+++ b/docs/users_guide/shared_libs.rst
@@ -207,6 +207,10 @@ library directories of all the packages that the program depends on
paths. The unix tool ``readelf --dynamic`` is handy for inspecting the
``RPATH``/``RUNPATH`` entries in ELF shared libraries and executables.
+On most UNIX platforms it is also possible to build executables that can be
+``dlopen``\'d like shared libraries using the :ghc-flag:`-pie` flag during
+linking.
+
.. _finding-shared-libs-mac:
Mac OS X