Port: Fix libuuid compat on mingw
[babeltrace.git] / compat / Makefile.am
index 79be1c8141a0ce09f56a3ab9ec7f6fb792810500..33d49241600d7af4c21bc1e90db9749aaa457e8b 100644 (file)
@@ -1,12 +1,8 @@
 AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
 
-lib_LTLIBRARIES = libcompat.la
+noinst_LTLIBRARIES = libcompat.la
 
-libcompat_la_SOURCES =
+libcompat_la_SOURCES = compat_uuid.c
 
 libcompat_la_LDFLAGS = \
-       -Wl,--no-as-needed
-
-if BABELTRACE_BUILD_WITH_MINGW
-libcompat_la_SOURCES += compat_uuid.c
-endif
+       $(LD_NO_AS_NEEDED)
This page took 0.026243 seconds and 4 git commands to generate.