]> arthur.barton.de Git - bup.git/commitdiff
build: fix C-side dependencies
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 5 Feb 2020 19:36:46 +0000 (20:36 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sat, 25 Apr 2020 19:26:00 +0000 (14:26 -0500)
We need to depend on bupsplit.h, otherwise changes there
don't force a rebuild.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
(cherry picked from commit 82d951a8589b8bd5a3e61b4d0a7b70e8ef6f6231)
Tested-by: Rob Browning <rlb@defaultvalue.org>
Makefile
lib/bup/csetup.py

index 77dae0b71801551efa2132fc9c65d456615379bf..0a07f9602a9469156ad44a7ec8a49b0efa16a4bd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -119,7 +119,7 @@ install: all
 config/config.h: config/config.vars
 
 lib/bup/_helpers$(SOEXT): \
-               config/config.h \
+               config/config.h lib/bup/bupsplit.h \
                lib/bup/bupsplit.c lib/bup/_helpers.c lib/bup/csetup.py
        @rm -f $@
        cd lib/bup && \
index 1cebf76f211dce1c87a037566afc9fca115390d1..d46aac0ae422571a75dbbe52ae20178d5441a777 100644 (file)
@@ -5,7 +5,7 @@ from distutils.core import setup, Extension
 
 _helpers_mod = Extension('_helpers',
                          sources=['_helpers.c', 'bupsplit.c'],
-                         depends=['../../config/config.h'])
+                         depends=['../../config/config.h', 'bupsplit.h'])
 
 setup(name='_helpers',
       version='0.1',