X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fdefault.cfg;h=538d1c60cb5889b0a3614b359dcc2bd430e78768;hb=3ddd3c4748a4022cb9c4e73215ca5280adb5ca45;hp=0b643184f0bbc20c888ea82596548bbc1949e258;hpb=27279fcb63d805cc21d3c5cfa318d629ee02575a;p=libucw.git diff --git a/ucw/default.cfg b/ucw/default.cfg index 0b643184..538d1c60 100644 --- a/ucw/default.cfg +++ b/ucw/default.cfg @@ -4,11 +4,17 @@ # Version of the whole package Set("UCW_VERSION" => "5.0-dev"); Set("UCW_VERSION_CODE" => 5000000); -Set("UCW_ABI_VERSION" => Get("UCW_VERSION_CODE") . ".0"); + +# Name of libraries in packages (libucw$UCW_ABI_SUFFIX.so.0.0, etc.) +Set("UCW_ABI_SUFFIX" => "-" . Get("UCW_VERSION")); # Compile everything with debug information and ASSERT's UnSet("CONFIG_DEBUG"); +# Environment variable with a switch to abort() on die(). +# Any non-empty value of the variable turns this feature on. +Set("CONFIG_UCW_ENV_VAR_DIE_BY_ABORT" => "UCW_DIE_BY_ABORT"); + # Enable aggressive optimizations depending on exact CPU type (don't use for portable packages) UnSet("CONFIG_EXACT_CPU"); @@ -73,5 +79,8 @@ UnSet("CONFIG_UCW_PCRE"); # Compile tools used for debugging and testing of LibUCW UnSet("CONFIG_UCW_DEBUG_TOOLS"); +# Clean up library ABI by attaching "ucw_" prefix to all externally visible symbols +Set("CONFIG_UCW_CLEAN_ABI" => 1); + # Return success 1;