Give the customers LDFLAGS to webextension too.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 10 Jan 2020 23:39:05 +0000 (00:39 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 10 Jan 2020 23:39:05 +0000 (00:39 +0100)
config.mk

index 081f667..f5c6042 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -36,7 +36,7 @@ endif
 EXTTARGET   = webext_main.so
 EXTCFLAGS   = ${CFLAGS} $(shell pkg-config --cflags webkit2gtk-web-extension-4.0)
 EXTCPPFLAGS = $(CPPFLAGS)
-EXTLDFLAGS  = $(shell pkg-config --libs webkit2gtk-web-extension-4.0) -shared
+EXTLDFLAGS  = ${LDFLAGS} $(shell pkg-config --libs webkit2gtk-web-extension-4.0) -shared
 
 # flags used for the main application
 CFLAGS     += $(shell pkg-config --cflags $(LIBS))