Patrick Williams | 520786c | 2023-06-25 16:20:36 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
2 | |||||
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 3 | --- a/scripts/jpeg-version.sh |
4 | +++ b/scripts/jpeg-version.sh | ||||
5 | @@ -1,2 +1,2 @@ | ||||
6 | #!/bin/sh | ||||
7 | -echo JPEG_LIB_VERSION | cpp $CFLAGS -include jpeglib.h | tail -1 | ||||
8 | +${CPP} -include jpeglib.h -dM -E -x c /dev/null | grep 'define JPEG_LIB_VERSION' | cut -f 3 -d' ' |