summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
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