forked from amazingfate/loongoffice
convert openssl to gbuild and add to tail_build
Change-Id: I52c62a91e317f072237cf25ed54f3cc6456d82b3 Reviewed-on: https://gerrit.libreoffice.org/1495 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
This commit is contained in:
@ -11,7 +11,10 @@ $(eval $(call gb_ExternalProject_ExternalProject,python3))
|
||||
|
||||
$(eval $(call gb_ExternalProject_use_unpacked,python3,python3))
|
||||
|
||||
$(eval $(call gb_ExternalProject_use_external,python3,expat))
|
||||
$(eval $(call gb_ExternalProject_use_externals,python3,\
|
||||
expat \
|
||||
openssl \
|
||||
))
|
||||
|
||||
$(eval $(call gb_ExternalProject_register_targets,python3,\
|
||||
build \
|
||||
@ -75,8 +78,8 @@ $(call gb_ExternalProject_get_state_target,python3,build) :
|
||||
--enable-shared \
|
||||
) \
|
||||
CC="$(strip $(CC) \
|
||||
$(if $(filter YES,$(SYSTEM_OPENSSL)),, -I$(OUTDIR)/inc/external) \
|
||||
$(if $(filter YES,$(SYSTEM_EXPAT)),, -I$(OUTDIR)/inc/external/expat) \
|
||||
$(if $(filter NO,$(SYSTEM_OPENSSL)),-I$(call gb_UnpackedTarball_get_dir,openssl)/include) \
|
||||
$(if $(filter NO,$(SYSTEM_EXPAT)),-I$(OUTDIR)/inc/external/expat) \
|
||||
$(if $(SYSBASE), -I$(SYSBASE)/usr/include) \
|
||||
)" \
|
||||
$(if $(python3_cflags),CFLAGS='$(python3_cflags)') \
|
||||
|
||||
Reference in New Issue
Block a user