diff --git a/libtool b/libtool
index f7006fd..013362e 100755
--- a/libtool
+++ b/libtool
@@ -74,7 +74,7 @@
OBJDUMP="objdump"
# Whether or not to build shared libraries.
-build_libtool_libs=no
+build_libtool_libs=yes
# Whether or not to build static libraries.
build_old_libs=yes
@@ -83,7 +83,7 @@
pic_mode=default
# Whether or not to optimize for fast installation.
-fast_install=needless
+fast_install=yes
# The host system.
host_alias=
@@ -161,7 +161,7 @@
lock_old_archive_extraction=no
# A C compiler.
-LTCC="g++"
+LTCC="gcc -std=gnu99 -std=gnu99"
# LTCC compiler flags.
LTCFLAGS="-fopenmp -g -O2 -Wall -pthread"
@@ -281,10 +281,10 @@
dlopen_support=yes
# Whether dlopen of programs is supported.
-dlopen_self=no
+dlopen_self=yes
# Whether dlopen of statically linked programs is supported.
-dlopen_self_static=unknown
+dlopen_self_static=yes
# Commands to strip libraries.
old_striplib="strip --strip-debug"
@@ -302,13 +302,13 @@
old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
# A language specific compiler.
-CC="g++"
+CC="gcc -std=gnu99 -std=gnu99"
# Is the compiler the GNU compiler?
with_gcc=yes
# Compiler flag to turn off builtin functions.
-no_builtin_flag=" -fno-builtin -fno-rtti -fno-exceptions"
+no_builtin_flag=" -fno-builtin"
# Additional compiler flags for building library objects.
pic_flag=" -fPIC -DPIC"
@@ -323,7 +323,7 @@
compiler_c_o="yes"
# Whether or not to add -lc for building shared libraries.
-build_libtool_need_lc=yes
+build_libtool_need_lc=no
# Whether or not to disallow shared libs when runtime libs are static.
allow_libtool_libs_with_static_runtimes=no