about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorlatex <latex@disroot.org>2023-01-29 18:18:06 +0100
committerlatex <latex@disroot.org>2023-01-29 18:18:06 +0100
commit840cfa9583f825c719c292f3c5bec7440d7fe53c (patch)
treec2dc8b65ac16e0044f07f5b81accad62ba0178fa
parent2ed3e247d3e5040eedb8a845e1d5ca8744a65436 (diff)
downloadlibumumble-840cfa9583f825c719c292f3c5bec7440d7fe53c.tar.gz
fix shared library build
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 2ccc175..43aa85a 100644
--- a/config.mk
+++ b/config.mk
@@ -5,7 +5,7 @@ SNAME = $(NAME).a
 DNAME = $(NAME).so
 
 CC = gcc
-CFLAGS = -W -Wall -Wvla -std=gnu99 -g
+CFLAGS = -W -Wall -Wvla -std=gnu99 -g -fPIC
 CFLAGS += $(shell pkg-config --cflags libuv)
 LDLIBS = $(shell pkg-config --libs libuv)
 NANOPB_DIR = deps/nanopb