add module option to libtool - surf-adblock - Surf adblock web extension | |
git clone git://git.codemadness.org/surf-adblock | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 50c884125634837287c62bf995a3a97af8a1bc9b | |
parent 6d7aec70618a62cba038fb4dacfc69691e3210e0 | |
Author: Quentin Rameau <[email protected]> | |
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(-) | |
--- | |
diff --git a/config.mk b/config.mk | |
@@ -23,7 +23,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${WEBEXTLIB} -lgthrea… | |
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 |