mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-21 09:27:51 +02:00
Added autotools support for libmount
Check whether libmount is available at configuration time and provide an option to explicitly enable or disable it, similar to libelf. https://bugzilla.gnome.org/show_bug.cgi?id=522053
This commit is contained in:
@@ -586,6 +586,11 @@ libgio_2_0_la_CFLAGS += -xobjective-c
|
||||
libgio_2_0_la_LDFLAGS += -Wl,-framework,Foundation -Wl,-framework,AppKit
|
||||
endif
|
||||
|
||||
if HAVE_LIBMOUNT
|
||||
libgio_2_0_la_CFLAGS += $(LIBMOUNT_CFLAGS)
|
||||
libgio_2_0_la_LIBADD += $(LIBMOUNT_LIBS)
|
||||
endif
|
||||
|
||||
libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
|
||||
|
||||
gio-win32-res.o: gio.rc
|
||||
|
Reference in New Issue
Block a user