--- python/setup.py.in.orig	2022-05-02 19:35:01.000000000 +1000
+++ python/setup.py.in	2022-10-21 01:15:36.000000000 +1100
@@ -6,8 +6,8 @@
 
 dnet_srcs = [ '@srcdir@/dnet.pyx' ]
 dnet_incdirs = [ '@top_srcdir@/include' ]
-dnet_libdirs = []
-dnet_libs = []
+dnet_libdirs = [ '@prefix@/lib' ]
+dnet_libs = [ 'dnet' ]
 dnet_extargs = []
 dnet_extobj = []
 
