mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
build: Fix bsdiff Makefile circular dependency
The intended use was to have the .am.inc generated from the .am like the libglnx one. Without this, make was detecting a circular dependency and dropping the rule: make: Circular bsdiff/Makefile-bsdiff.am.inc <- bsdiff/Makefile-bsdiff.am.inc dependency dropped. Closes: #1276 Approved by: jlebon
This commit is contained in:
parent
1c108d1b68
commit
9b3e01be30
@ -106,7 +106,7 @@ libbsdiff_srcpath := $(srcdir)/bsdiff
|
||||
libbsdiff_cflags := $(OT_DEP_GIO_UNIX_CFLAGS) "-I$(bsdiff_srcpath)"
|
||||
libbsdiff_libs := $(OT_DEP_GIO_UNIX_LIBS)
|
||||
# See the comment for the similar libglnx bit above
|
||||
$(srcdir)/bsdiff/Makefile-bsdiff.am.inc: $(srcdir)/bsdiff/Makefile-bsdiff.am.inc
|
||||
$(srcdir)/bsdiff/Makefile-bsdiff.am.inc: $(srcdir)/bsdiff/Makefile-bsdiff.am
|
||||
sed -e 's,$(libbsdiff_srcpath),bsdiff,g' < $< > $@
|
||||
include bsdiff/Makefile-bsdiff.am.inc
|
||||
EXTRA_DIST += bsdiff/Makefile-bsdiff.am
|
||||
|
Loading…
Reference in New Issue
Block a user