mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 09:17:17 +00:00
Add LDFLAGS to Lflags in generated janet.pc
This commit is contained in:
parent
b43d93cf55
commit
4d5a95784a
2
Makefile
2
Makefile
@ -285,7 +285,7 @@ $(PKG_CONFIG_PATH)/janet.pc: $(JANET_TARGET)
|
|||||||
echo "Description: Library for the Janet programming language." >> $@
|
echo "Description: Library for the Janet programming language." >> $@
|
||||||
$(JANET_TARGET) -e '(print "Version: " janet/version)' >> $@
|
$(JANET_TARGET) -e '(print "Version: " janet/version)' >> $@
|
||||||
echo 'Cflags: -I$${includedir}' >> $@
|
echo 'Cflags: -I$${includedir}' >> $@
|
||||||
echo 'Libs: -L$${libdir} -ljanet' >> $@
|
echo 'Libs: -L$${libdir} -ljanet $(LDFLAGS)' >> $@
|
||||||
echo 'Libs.private: $(CLIBS)' >> $@
|
echo 'Libs.private: $(CLIBS)' >> $@
|
||||||
|
|
||||||
install: $(JANET_TARGET) $(PKG_CONFIG_PATH)/janet.pc
|
install: $(JANET_TARGET) $(PKG_CONFIG_PATH)/janet.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user