src/Makefile.am: Use $(libdir) instead of @libdir@
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 18 Feb 2013 20:26:28 +0000 (15:26 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Feb 2013 17:18:32 +0000 (12:18 -0500)
This allows overriding prefix and libdir at make time.  Noticed
by David Herrmann.

src/Makefile.am

index 94c6931..bea3b5f 100644 (file)
@@ -80,7 +80,7 @@ westoninclude_HEADERS =                               \
        matrix.h                                \
        ../shared/config-parser.h
 
-moduledir = @libdir@/weston
+moduledir = $(libdir)/weston
 module_LTLIBRARIES =                           \
        $(desktop_shell)                        \
        $(tablet_shell)                         \