ports/lang/quickjs/files/patch-qjsc.c
Robert Clausecker 4aa65c4c1c lang/quickjs: add SONAME, library symlinks
PR:		275087
MFH:		no (soname change)
Reported by:	asiciliano
Approved by:	yuri
2025-02-18 17:13:27 +01:00

11 lines
435 B
C

--- qjsc.c.orig 2024-07-27 21:40:48 UTC
+++ qjsc.c
@@ -445,7 +445,7 @@ static int output_executable(const char *out_filename,
if (dynamic_export)
*arg++ = "-rdynamic";
*arg++ = cfilename;
- snprintf(libjsname, sizeof(libjsname), "%s/libquickjs%s%s.a",
+ snprintf(libjsname, sizeof(libjsname), "%s/libquickjs%s%s.so",
lib_dir, bn_suffix, lto_suffix);
*arg++ = libjsname;
*arg++ = "-lm";