-
-
Notifications
You must be signed in to change notification settings - Fork 137
-Wl,-start-group is removed from --libs #371
Copy link
Copy link
Closed
Description
Consider the following name.pc file:
Name: name
Version: 1.0
Description: description
Libs: -Wl,--start-group -la -lb -Wl,--end-group -nodefaultlibs -Wl,--start-group -la -lgcc -Wl,--end-group -Wl,--gc-sections
With pkg-config 1.8.1 I get:
pkg-config --libs name.pc
-lb -Wl,--end-group -nodefaultlibs -Wl,--start-group -la -lgcc -Wl,--end-group -Wl,--gc-sections
This leads to linker errors like this:
ld: group ended before it began (--help for usage)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels