[OpenSIPS-Devel] [OpenSIPS/opensips] 41408f: Makefile: fix concurrency issue leading to linking...
Liviu Chircu
liviu at opensips.org
Wed Nov 19 16:11:29 CET 2014
Branch: refs/heads/1.11
Home: https://github.com/OpenSIPS/opensips
Commit: 41408f0411a330c83f149e62ff91f98249a856b1
https://github.com/OpenSIPS/opensips/commit/41408f0411a330c83f149e62ff91f98249a856b1
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
(cherry picked from commit a441867b2b81662136a9fb55c5ad2701c756c2f5)
More information about the Devel
mailing list