[OpenSIPS-Devel] [OpenSIPS/opensips] a44186: Makefile: fix concurrency issue leading to linking...
Liviu Chircu
liviu at opensips.org
Wed Nov 19 16:08:46 CET 2014
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: a441867b2b81662136a9fb55c5ad2701c756c2f5
https://github.com/OpenSIPS/opensips/commit/a441867b2b81662136a9fb55c5ad2701c756c2f5
Author: Liviu Chircu <liviu at opensips.org>
Date: 2014-11-19 (Wed, 19 Nov 2014)
Changed paths:
M Makefile.defs
M Makefile.rules
Log Message:
-----------
Makefile: fix concurrency issue leading to linking errors
main.c needs to be recompiled if the version name changes. When doing
multi-threaded compiling (make -j), main.o would sometimes be deleted
right after it was compiled, triggering a linking error of the "opensips" binary.
The patch also prevents main.c to be recompiled each time if the ".git" dir
is not present. (i.e. compiling a tarball archive). Credits to Răzvan
Crainea.
Thanks to Bobby Hakimi for offering a replication environment.
Closes #373
More information about the Devel
mailing list