Rombobjörn

summaryrefslogtreecommitdiff
path: root/build_system_log.gpr
diff options
context:
space:
mode:
authorBjörn Persson <bjorn@rombobjörn.se>2013-08-31 20:42:14 +0200
committerBjörn Persson <bjorn@rombobjörn.se>2013-08-31 20:42:14 +0200
commit5bcc24067bece52b0e70f14ebc2c2dcade502544 (patch)
tree160630013111e29b4cc0d9470d46b501f0f30df3 /build_system_log.gpr
parent5401d93f6714727b0d96e1b7d2405a13d2f1c096 (diff)
Added LDFLAGS support in the build project.
Diffstat (limited to 'build_system_log.gpr')
-rw-r--r--build_system_log.gpr5
1 files changed, 5 insertions, 0 deletions
diff --git a/build_system_log.gpr b/build_system_log.gpr
index aa11b91..009dbaf 100644
--- a/build_system_log.gpr
+++ b/build_system_log.gpr
@@ -34,4 +34,9 @@ library project Build_System_Log is
for Default_Switches ("Ada") use ("-a");
end Binder;
+ -- Use any linker options that LDFLAGS might contain. This is necessary
+ -- because Gnatmake and GPRbuild lack a command line separator for shared
+ -- library linker options.
+ for Library_Options use external_as_list("LDFLAGS", " ");
+
end Build_System_Log;