From fd0cf0fc04eb828dbed5b374b2cffd9725ff4d2e Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 3 Feb 2020 21:18:39 +0100 Subject: [PATCH] Force -fPIC when compiling libcatta. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index b5cb26b..87a1bb7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -90,7 +90,7 @@ if WINDOWS AM_CFLAGS+=-DWINVER=0x0600 -D_WIN32_WINNT=0x0600 endif -libcatta_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) +libcatta_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -fPIC libcatta_la_LIBADD = $(AM_LDADD) $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) libcatta_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBCATTA_VERSION_INFO) -- 2.39.5