Fix compilation for wasm
libjpeg's internal putenv() function uses system setenv(), but that is not found when building for webassembly. Just disable the entire putenv function, since it is not used anyway. Pick-to: 6.3 6.2 5.15 Change-Id: I1eb60f31562ef4e33c656ff3b3752bef6f88fcb8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>bb10
parent
c4d78703e0
commit
31d401dec6
|
|
@ -13,3 +13,5 @@
|
|||
#define MEM_SRCDST_SUPPORTED 1
|
||||
|
||||
#define BITS_IN_JSAMPLE 8
|
||||
|
||||
#define NO_PUTENV
|
||||
|
|
|
|||
Loading…
Reference in New Issue