Compare commits

...

2 Commits

Author SHA1 Message Date
Michael Hughes
df8a3cb58e
Merge c35e6bf288ab69b3e9ce083c667ee536bcbc051b into 20d2b404af65edc5d66ee6f11a59f930ea3d1b88 2025-08-27 20:08:48 +02:00
bsekisser
c35e6bf288 missing atomic references...
EXTRA_LIBS='-latomic' is not enough...
	qjsc needs to pass the same for producing output.

same issue or possibly related to issue...
	https://github.com/bellard/quickjs/issues/321

compiling platform uname -a
	Linux raspberrypi 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux

	modified:   qjsc.c
2025-01-15 17:11:34 -05:00

1
qjsc.c
View File

@ -504,6 +504,7 @@ static int output_executable(const char *out_filename, const char *cfilename,
*arg++ = "-lm";
*arg++ = "-ldl";
*arg++ = "-lpthread";
*arg++ = "-latomic";
*arg = NULL;
if (verbose) {