-rw-r--r-- | Rules.make | 5 | ||||
-rw-r--r-- | config.in | 6 |
2 files changed, 9 insertions, 2 deletions
@@ -23,5 +23,7 @@ else echo DEFINES += "OPIE_NO_DEBUG" >> $@ endif - +ifeq ($(CONFIG_STATIC),y) + echo CONFIG += staticlib >> $@ +endif ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 echo CONFIG -= qt3 >> $@ @@ -31,4 +33,5 @@ endif ifneq ($(CONFIG_QUICK_LAUNCH),) echo contains\( CONFIG, quick-app \) \{ >> $@ + echo CONFIG -= staticlib >> $@ echo CONFIG -= quick-app >> $@ echo CONFIG += quick-app-lib >> $@ @@ -40,12 +40,16 @@ config OPTIMIZE default "y" if ! TARGET_X86 -# added for threaded compile config THREADED boolean "Enable threaded build" default "n" +config STATIC + boolean "Build static libraries" + default "n" + config DEBUG boolean "Enable debug builds" default n + config RELEASE bool |