summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--Rules.make5
-rw-r--r--config.in6
2 files changed, 9 insertions, 2 deletions
diff --git a/Rules.make b/Rules.make
index 568f6cf..b78d763 100644
--- a/Rules.make
+++ b/Rules.make
@@ -24,3 +24,5 @@ else
endif
-
+ifeq ($(CONFIG_STATIC),y)
+ echo CONFIG += staticlib >> $@
+endif
ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3
@@ -32,2 +34,3 @@ ifneq ($(CONFIG_QUICK_LAUNCH),)
echo contains\( CONFIG, quick-app \) \{ >> $@
+ echo CONFIG -= staticlib >> $@
echo CONFIG -= quick-app >> $@
diff --git a/config.in b/config.in
index 124bc2a..c75576a 100644
--- a/config.in
+++ b/config.in
@@ -41,3 +41,2 @@ config OPTIMIZE
-# added for threaded compile
config THREADED
@@ -46,2 +45,6 @@ config THREADED
+config STATIC
+ boolean "Build static libraries"
+ default "n"
+
config DEBUG
@@ -49,2 +52,3 @@ config DEBUG
default n
+
config RELEASE