Fix checksum calculation with DESTDIR installations
authorTobias Brunner <tobias@strongswan.org>
Mon, 15 Apr 2013 14:48:46 +0000 (16:48 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 15 Apr 2013 14:48:46 +0000 (16:48 +0200)
src/checksum/Makefile.am

index 1405fcd..9f69450 100644 (file)
@@ -18,7 +18,7 @@ INCLUDES = \
        -I$(top_srcdir)/src/libhydra \
        -I$(top_srcdir)/src/libcharon
 AM_CFLAGS = \
-       -DPLUGINDIR=\"${plugindir}\" \
+       -DPLUGINDIR=\"${DESTDIR}${plugindir}\" \
        -rdynamic
 
 # we keep track of build dependencies in deps and use libs to store the paths