Skip to content

Commit 15d5622

Browse files
committed
Link with libdl on unix OS
gnatcoll-plugins__unix.adb references libdl.so. The -ldl linker option has been lost by commit 6fe0fbe when the old Makefile has been converted to gprbuild.
1 parent 34554f2 commit 15d5622

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gnatcoll.gpr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ project GnatColl is
9595
null;
9696
end case;
9797
end case;
98+
case OS is
99+
when "unix" =>
100+
Extra_Libs := Extra_Libs & ("-ldl"); -- For gnatcoll.plugins
101+
when others =>
102+
null;
103+
end case;
98104

99105
So_Ext := "";
100106
case OS is

0 commit comments

Comments
 (0)