diff --git a/Makefile.am b/Makefile.am index e6b0f46..f351ffe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -31,9 +31,9 @@ SRCS = \ $(GDK_SRCS) ASSEMBLIES = \ - -pkg:glib-sharp-2.0 \ - -pkg:gio-sharp-2.0 \ - -pkg:gtk-sharp-2.0 + $(GLIBSHARP_LIBS) \ + $(GIOSHARP_LIBS) \ + $(GTKSHARP_LIBS) all: gtk-sharp-beans.dll diff --git a/configure.ac b/configure.ac index 9e2e681..36be64e 100644 --- a/configure.ac +++ b/configure.ac @@ -20,8 +20,11 @@ AC_SUBST(GACUTIL) AC_SUBST(GACUTIL_FLAGS) PKG_CHECK_MODULES(GTKSHARP, gtk-sharp-2.0 >= 2.12) +AC_SUBST(GTKSHARP_LIBS) PKG_CHECK_MODULES(GLIBSHARP, glib-sharp-2.0 >= 2.12) +AC_SUBST(GLIBSHARP_LIBS) PKG_CHECK_MODULES(GIOSHARP, gio-sharp-2.0 >= 2.18) +AC_SUBST(GIOSHARP_LIBS) PKG_CHECK_MODULES(GAPI, gapi-2.0 >= 2.12.0) CSC_DEFINES=""