Page MenuHomePhabricator

Add -pthread to LDFLAGS
ClosedPublic

Authored by abeserminji on Jul 19 2018, 4:21 AM.

Details

Summary

This test fails when compiling with -static option. Adding this flag resolves the linker error.

Diff Detail

Event Timeline

abeserminji created this revision.Jul 19 2018, 4:21 AM
MatzeB accepted this revision.Jul 20 2018, 12:43 PM

Please use -pthread instead of -lpthread, otherwise LGTM.

This revision is now accepted and ready to land.Jul 20 2018, 12:43 PM
abeserminji retitled this revision from Add -lpthread to LDFLAGS to Add -pthread to LDFLAGS.

Comments addressed.

This revision was automatically updated to reflect the committed changes.