PaulCombal / SamRewritten

Steam Achievement Manager For Linux. Rewritten in C++.
GNU General Public License v3.0
340 stars 32 forks source link

Fixing build on Ubuntu (and variants) #36

Closed pehsa closed 4 years ago

pehsa commented 4 years ago

When I tried to build on Xubuntu 18.04 I got multiple linking error whose caused by wrong linking order for the g++

For example: "gcc test.c -lcurl" will build without error while "gcc -lcurl test.c" will fail because gcc/g++ not find the linkings.

wgpierce commented 4 years ago

Yeah the gcc manual specifies that the current ordering is wrong. Thanks for the contribution!