mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 05:49:51 +02:00
build: fix install race on shared headers
subdirectories with more than one target can have the install targets run in parallel with make -jN. group the shared headers in one place to produce a common install target. Change-Id: I1f3aa338a8ee6d681de1e5d0b2c6244d2c3d5451
This commit is contained in:
@ -15,11 +15,14 @@ if BUILD_LIBWEBPDECODER
|
||||
lib_LTLIBRARIES += libwebpdecoder.la
|
||||
endif
|
||||
|
||||
common_HEADERS =
|
||||
common_HEADERS += webp/decode.h
|
||||
common_HEADERS += webp/types.h
|
||||
commondir = $(includedir)/webp
|
||||
|
||||
libwebp_la_SOURCES =
|
||||
libwebpinclude_HEADERS =
|
||||
libwebpinclude_HEADERS += webp/decode.h
|
||||
libwebpinclude_HEADERS += webp/encode.h
|
||||
libwebpinclude_HEADERS += webp/types.h
|
||||
noinst_HEADERS =
|
||||
noinst_HEADERS += webp/format_constants.h
|
||||
|
||||
@ -39,9 +42,6 @@ pkgconfig_DATA = libwebp.pc
|
||||
|
||||
if BUILD_LIBWEBPDECODER
|
||||
libwebpdecoder_la_SOURCES =
|
||||
libwebpdecoderinclude_HEADERS =
|
||||
libwebpdecoderinclude_HEADERS += webp/decode.h
|
||||
libwebpdecoderinclude_HEADERS += webp/types.h
|
||||
|
||||
libwebpdecoder_la_LIBADD =
|
||||
libwebpdecoder_la_LIBADD += dec/libwebpdecode.la
|
||||
@ -49,7 +49,6 @@ if BUILD_LIBWEBPDECODER
|
||||
libwebpdecoder_la_LIBADD += utils/libwebputilsdecode.la
|
||||
|
||||
libwebpdecoder_la_LDFLAGS = -no-undefined -version-info 0:0:0
|
||||
libwebpdecoderincludedir = $(includedir)/webp
|
||||
pkgconfig_DATA += libwebpdecoder.pc
|
||||
endif
|
||||
|
||||
|
Reference in New Issue
Block a user