add module option to libtool - surf-adblock - Surf adblock web extension
(HTM) git clone git://git.codemadness.org/surf-adblock
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 50c884125634837287c62bf995a3a97af8a1bc9b
(DIR) parent 6d7aec70618a62cba038fb4dacfc69691e3210e0
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Sat, 16 Jul 2016 13:12:52 +0200
add module option to libtool
This is needed or else libtool will complain that the library name
doesn't start with “lib”.
This was initialy my fault.
Diffstat:
M config.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/config.mk b/config.mk
@@ -23,7 +23,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${WEBEXTLIB} -lgthread-2.0
CPPFLAGS = -DVERSION=\"${VERSION}\" -DWEBEXTDIR=\"${LIBPREFIX}\" \
-D_DEFAULT_SOURCE -DWEBEXTDIR=\"${LIBPREFIX}\"
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} ${WEBEXTINC}
-LDFLAGS = -s ${LIBS} -avoid-version
+LDFLAGS = -s ${LIBS} -module -avoid-version
# compiler and linker
CC = cc