mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
rpm: use external (BR versions) of file and pcre
Saves space in rootfs, and fixes build issues (internal pcre needs C++ support for unit test, internal file breaks with incompatible file versions on host). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a276ff9030
commit
03d9092659
@ -19,6 +19,20 @@ RPM_CONF_OPT = --disable-build-versionscript --disable-rpath \
|
||||
--with-libbeecrypt=$(STAGING_DIR) \
|
||||
--with-popt=$(STAGING_DIR)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
RPM_DEPENDENCIES += pcre
|
||||
RPM_CONF_OPT += --with-pcre=external
|
||||
else
|
||||
RPM_CONF_OPT += --with-pcre=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FILE),y)
|
||||
RPM_DEPENDENCIES += file
|
||||
RPM_CONF_OPT += --with-file=external
|
||||
else
|
||||
RPM_CONF_OPT += --with-file=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RPM_XZ_PAYLOADS),y)
|
||||
RPM_CONF_OPT+=--with-xz
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user