diff options
| author | Henry Kroll III <henry@comptune.com> | 2010-04-24 02:35:43 -0700 |
|---|---|---|
| committer | Henry Kroll III <henry@comptune.com> | 2010-04-24 02:35:43 -0700 |
| commit | a4ed587f6104ce2e8cb75ef9900bf17644f428bf (patch) | |
| tree | 23f8ac36b1f2bc7f79523b111d728c4c9daf721f /configure | |
| parent | 1578322b0649ae5a378acd2f53c542add9e9923f (diff) | |
| download | tinycc-a4ed587f6104ce2e8cb75ef9900bf17644f428bf.tar.gz tinycc-a4ed587f6104ce2e8cb75ef9900bf17644f428bf.tar.bz2 | |
add --disable-static option to build libtcc.so instead of libtcc.a
for distros that want static libs
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -128,6 +128,8 @@ for opt do ;; --enable-cross) build_cross="yes" ;; + --disable-static) disable_static="yes" + ;; --with-libgcc) use_libgcc="yes" ;; --with-selinux) have_selinux="yes" @@ -230,6 +232,7 @@ echo " --source-path=PATH path of source code [$source_path]" echo " --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix]" echo " --sysroot=PREFIX prepend PREFIX to library/include paths []" echo " --cc=CC use C compiler CC [$cc]" +echo " --disable-static make libtcc.so instead of libtcc.a" echo " --with-libgcc use /lib/libgcc_s.so.1 instead of libtcc1.a" echo " --with-selinux use mmap instead of exec mem" echo " [requires write access to /tmp]" @@ -357,6 +360,9 @@ fi if test "$build_cross" = "yes" ; then echo "CONFIG_CROSS=yes" >> config.mak fi +if test "$disable_static" = "yes" ; then + echo "DISABLE_STATIC=yes" >> config.mak +fi if test "$use_libgcc" = "yes" ; then echo "#define CONFIG_USE_LIBGCC" >> $TMPH echo "CONFIG_USE_LIBGCC=yes" >> config.mak |
