From 4d5a95784a076a03a437b2aeff19cd0544f19f50 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 24 May 2019 19:58:52 -0400 Subject: [PATCH] Add LDFLAGS to Lflags in generated janet.pc --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a57a0413..d0b38186 100644 --- a/Makefile +++ b/Makefile @@ -285,7 +285,7 @@ $(PKG_CONFIG_PATH)/janet.pc: $(JANET_TARGET) echo "Description: Library for the Janet programming language." >> $@ $(JANET_TARGET) -e '(print "Version: " janet/version)' >> $@ echo 'Cflags: -I$${includedir}' >> $@ - echo 'Libs: -L$${libdir} -ljanet' >> $@ + echo 'Libs: -L$${libdir} -ljanet $(LDFLAGS)' >> $@ echo 'Libs.private: $(CLIBS)' >> $@ install: $(JANET_TARGET) $(PKG_CONFIG_PATH)/janet.pc