File: 01-shared-lib-build

package info (click to toggle)
pljs 1.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,916 kB
  • sloc: ansic: 69,358; javascript: 5,408; sql: 880; makefile: 446; sh: 123
file content (14 lines) | stat: -rw-r--r-- 294 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/deps/quickjs/Makefile b/deps/quickjs/Makefile
index cf88a72..2643deb 100644
--- a/deps/quickjs/Makefile
+++ b/deps/quickjs/Makefile
@@ -56,6 +56,9 @@ CONFIG_BIGNUM=y

 OBJDIR=.obj

+# force -fPIC for compilation
+CFLAGS += -fPIC
+
 ifdef CONFIG_ASAN
 OBJDIR:=$(OBJDIR)/asan
 endif