Update systemverilog-plugin/Makefile
Co-authored-by: Mariusz Glebocki <mglb@arccos-1.net>
diff --git a/systemverilog-plugin/Makefile b/systemverilog-plugin/Makefile
index 25942f7..b4d09ce 100644
--- a/systemverilog-plugin/Makefile
+++ b/systemverilog-plugin/Makefile
@@ -49,4 +49,6 @@
-Wno-unused-parameter \
$(shell $(PKG_CONFIG_INVOKE) --cflags Surelog)
-LDFLAGS += $(shell $(PKG_CONFIG_INVOKE) --libs Surelog)
+LDFLAGS += $(shell $(PKG_CONFIG_INVOKE) --libs-only-L Surelog)
+
+LDLIBS += $(shell $(PKG_CONFIG_INVOKE) --libs-only-l --libs-only-other Surelog)