diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-12-22 12:36:21 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-12-22 12:36:21 +0000 |
commit | 6fd634e44fbef07cbe92954aa7ed356bbd75658b (patch) | |
tree | daf3dc4bcbbc414b03d02c8afb30bddb7f7ba3d6 | |
parent | 93cabcfaee6d0800463ebcc5077f47cc19673bf2 (diff) |
generate libavahi-glib soname automatically
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1046 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r-- | avahi-sharp/Makefile.am | 3 | ||||
-rw-r--r-- | avahi-sharp/avahi-sharp.dll.config.in | 2 | ||||
-rwxr-xr-x | avahi-sharp/gencfg.sh | 5 |
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" |