prefs: Add EVIL_LIBS to build to avoid problems with missing regex.h under mingw
authorStefan Schmidt <s.schmidt@samsung.com>
Mon, 24 Mar 2014 10:35:27 +0000 (11:35 +0100)
committerStefan Schmidt <s.schmidt@samsung.com>
Mon, 24 Mar 2014 10:43:21 +0000 (11:43 +0100)
Thanks to Adrien Nader to pointing this out.

In the longer term we need to re-factor some parts of the elm build system to
better reflect a build under mingw to avoid spreading @EVIL_LIBS@ and such
everywhere. But for now this is a good fix

@fix

src/modules/prefs/Makefile.am

index 72ded15..3f18688 100644 (file)
@@ -60,7 +60,7 @@ elm_horizontal_box.c \
 elm_vertical_frame.c \
 elm_horizontal_frame.c
 
-module_la_LIBADD = @ELEMENTARY_LIBS@ $(top_builddir)/src/lib/libelementary.la
+module_la_LIBADD = @ELEMENTARY_LIBS@ $(top_builddir)/src/lib/libelementary.la @EVIL_LIBS@
 module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
 module_la_LIBTOOLFLAGS = --tag=disable-static