summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-01-04 19:37:13 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-01-04 19:37:13 +0100
commit25b603a4ccd8831a8c836139e0c59c5f445c7641 (patch)
tree4099cff76522f45c3ee01151ecc9df9da16c1323 /Makefile.am
parent30ccc2bf64b29c4a749a1e34f6ed5b80f33aaca8 (diff)
Fix warning for automake 1.10.1
Don't generate an error when windres is missing Search uuid_create and uuid_generate first in C standard library before using other library e2fsprogs 1.41.3 may use pthread, so when creating a static version, pthread flags must be added
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ea43695..0e14c4a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,7 +25,7 @@ uninstall-hook:
static:
rm -f src/testdisk src/photorec src/testdisk.exe src/photorec.exe
- $(MAKE) LDFLAGS="$(LDFLAGS) -static"
+ $(MAKE) LDFLAGS="$(LDFLAGS) -static" LIBS="$(PTHREAD_LIBS) $(LIBS)" CFLAGS="$(PTHREAD_CFLAGS) $(CFLAGS)" CXXFLAGS="$(PTHREAD_CFLAGS) $(CXXFLAGS)"
smallstatic:
$(MAKE) static