summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pacman/Makefile.am b/src/pacman/Makefile.am
index 216633a6..129fbee5 100644
--- a/src/pacman/Makefile.am
+++ b/src/pacman/Makefile.am
@@ -1,4 +1,8 @@
-bin_PROGRAMS = pacman pacman.static
+bin_PROGRAMS = pacman
+
+if LINKSTATIC
+bin_PROGRAMS += pacman.static
+endif
SUBDIRS = po