From 5bcc24067bece52b0e70f14ebc2c2dcade502544 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Sat, 31 Aug 2013 20:42:14 +0200 Subject: Added LDFLAGS support in the build project. --- build_system_log.gpr | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.3