Skip to content

Commit d8f5477

Browse files
committed
Link with libdl on unix OS
This comes from the GitHub pull request #47 no-tn-check Change-Id: I9dbc9423b9f40d378fb2656591f777793105b276
2 parents 4f59198 + 15d5622 commit d8f5477

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)