]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
editing files in main/editline does not ensure rebuild of libedit.a
authorKinsey Moore <kmoore@digium.com>
Wed, 3 Aug 2011 15:14:36 +0000 (15:14 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 3 Aug 2011 15:14:36 +0000 (15:14 +0000)
When editing a source file in main/editline, the build system does not rebuild
libedit.a and uses the already existing one instead.  Adding a PHONY to
CHECK_SUBDIR fixes this problem.

(closes issue ASTERISK-16221)
Patch-by: Walter Doekes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@330762 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/Makefile

index d7a65d3d7f8fd95f33260499fdc07e3b9d86d289..07143aa5a9f07cdae7776dc0503588ea052fb604 100644 (file)
@@ -105,6 +105,7 @@ ASTLINK+=-Wl,--version-script,asterisk.exports
   endif
 endif
 
+.PHONY: CHECK_SUBDIR
 CHECK_SUBDIR:  # do nothing, just make sure that we recurse in the subdir/
 
 editline/libedit.a: CHECK_SUBDIR