summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--avahi-sharp/Makefile.am3
-rw-r--r--avahi-sharp/avahi-sharp.dll.config.in2
-rwxr-xr-xavahi-sharp/gencfg.sh5
3 files changed, 7 insertions, 3 deletions
diff --git a/avahi-sharp/Makefile.am b/avahi-sharp/Makefile.am
index 524f39d..cd07a12 100644
--- a/avahi-sharp/Makefile.am
+++ b/avahi-sharp/Makefile.am
@@ -53,7 +53,8 @@ $(ASSEMBLY): $(AVAHISOURCES)
$(ASSEMBLY).config: $(ASSEMBLY).config.in
$(srcdir)/gencfg.sh $(top_builddir)/avahi-client/libavahi-client.la \
- $(top_builddir)/avahi-common/libavahi-common.la < $< > $@
+ $(top_builddir)/avahi-common/libavahi-common.la \
+ $(top_builddir)/avahi-glib/libavahi-glib.la < $< > $@
if HAVE_MONO
if HAVE_DBUS
diff --git a/avahi-sharp/avahi-sharp.dll.config.in b/avahi-sharp/avahi-sharp.dll.config.in
index adc6966..5bae58f 100644
--- a/avahi-sharp/avahi-sharp.dll.config.in
+++ b/avahi-sharp/avahi-sharp.dll.config.in
@@ -1,5 +1,5 @@
<configuration>
<dllmap dll="avahi-client" target="@CLIENT_DLNAME@"/>
<dllmap dll="avahi-common" target="@COMMON_DLNAME@"/>
- <dllmap dll="avahi-glib" target="libavahi-glib.so.1"/>
+ <dllmap dll="avahi-glib" target="@GLIB_DLNAME@"/>
</configuration>
diff --git a/avahi-sharp/gencfg.sh b/avahi-sharp/gencfg.sh
index 1286c01..3486187 100755
--- a/avahi-sharp/gencfg.sh
+++ b/avahi-sharp/gencfg.sh
@@ -4,6 +4,9 @@
client_dlname=$dlname
. $2
common_dlname=$dlname
+. $3
+glib_dlname=$dlname
exec sed -e "s,@CLIENT_DLNAME\@,${client_dlname},g" \
- -e "s,@COMMON_DLNAME\@,${common_dlname},g"
+ -e "s,@COMMON_DLNAME\@,${common_dlname},g" \
+ -e "s,@GLIB_DLNAME\@,${glib_dlname},g"