summaryrefslogtreecommitdiff
path: root/rules/build-package-data.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/build-package-data.mk')
-rw-r--r--rules/build-package-data.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk
index a260138286..2f1a83aca2 100644
--- a/rules/build-package-data.mk
+++ b/rules/build-package-data.mk
@@ -12,6 +12,10 @@
define build-package-data # args: $1 = dir, $2 = distdir
+ifeq "$(BuildSharedLibs)" "YES"
+$1_$2_CONFIGURE_FLAGS += --enable-shared
+endif
+
ifeq "$(HSCOLOUR_SRCS)" "YES"
$1_$2_CONFIGURE_FLAGS += --with-hscolour="$$(HSCOLOUR)"
endif