uppsrc: NOSO flag to use internal sources for bz2 and zlib even in Linux

git-svn-id: svn://ultimatepp.org/upp/trunk@14202 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-03-30 08:59:42 +00:00
parent f6bc1e4134
commit eff3ecaa06
3 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ description "Non-GUI code. Streams, NTL containers, concrete types, Value, XML,
acceptflags
USEMALLOC;
uses(WIN32) plugin\z;
uses(WIN32 | NOSO) plugin\z;
library(LINUX !ANDROID) "pthread dl rt";
@ -11,7 +11,7 @@ library(BSD !OSX) "pthread rt execinfo";
library(SOLARIS) "posix4 dl";
library(!WIN32) z;
library(!WIN32 & !NOSO) z;
library(OSX) pthread;

View file

@ -5,7 +5,7 @@ options(BUILDER_OPTION) NOWARNINGS;
uses
Core;
library(POSIX) bz2;
library(POSIX & !NOSO) bz2;
file
bz2.h,

View file

@ -1,4 +1,4 @@
#ifdef flagWIN32
#if defined(flagWIN32) || defined(flagNOSO)
#include "lib/blocksort.c"
#include "lib/bzlib.c"