Check-in [7deb61f66a]
Overview
Comment:Updated to not weaken symbols in static library and changed --enable-static to --disable-shared
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7deb61f66ad6974858dbd6e3ad170c43e224b8bf
User & Date: rkeene on 2014-05-06 04:42:06
Other Links: manifest | tags
Context
2014-05-06
04:45
tcc4tcl 0.5 check-in: c5e8988c75 user: rkeene tags: trunk, 0.5
04:42
Updated to not weaken symbols in static library and changed --enable-static to --disable-shared check-in: 7deb61f66a user: rkeene tags: trunk
2014-05-05
21:39
tcc4tcl 0.4 check-in: 380bdee1f8 user: rkeene tags: trunk, 0.4
Changes

Modified Makefile.in from [7aa8d0f754] to [f3dd26de50].

    53     53   	-@REMOVESYMS@ tcc4tcl.@SHOBJEXT@
    54     54   
    55     55   tcc4tcl-static.a: tcc4tcl.o tcc/libtcc.a
    56     56   	cp tcc/libtcc.a tcc4tcl-static.new.a
    57     57   	$(AR) rcu tcc4tcl-static.new.a tcc4tcl.o
    58     58   	-$(RANLIB) tcc4tcl-static.new.a
    59     59   	mv tcc4tcl-static.new.a tcc4tcl-static.a
    60         -	-@WEAKENSYMS@ tcc4tcl-static.a
    61     60   
    62     61   install: $(TARGET) pkgIndex.tcl $(srcdir)/tcc4tcl.tcl tcc/libtcc1.a $(shell echo $(srcdir)/tcc/include/*) $(srcdir)/headers.awk
    63     62   	$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
    64     63   	$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/lib"
    65     64   	$(INSTALL) -d "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include"
    66     65   	$(INSTALL) -m 0755 $(TARGET) "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"
    67     66   	$(INSTALL) -m 0644 pkgIndex.tcl "$(DESTDIR)$(PACKAGE_INSTALL_DIR)"

Modified configure.ac from [5732181c96] to [1ab4dbd7bb].

     8      8   AC_GNU_SOURCE
     9      9   AC_LANG(C)
    10     10   
    11     11   dnl Determine system information
    12     12   DC_CHK_OS_INFO
    13     13   
    14     14   dnl Determine if a shared or static build is requested
    15         -AC_ARG_ENABLE([static], AS_HELP_STRING([--enable-static], [build static library instead of shared library]), [
           15  +AC_ARG_ENABLE([shared], AS_HELP_STRING([--disble-shared], [build static library instead of shared library]), [
    16     16   	if test "$enableval" = "no"; then
    17         -		TCC4TCL_TARGET=shared
           17  +		TCC4TCL_TARGET=static
    18     18   	else
    19         -		TCC4TCL_TARGET=static
           19  +		TCC4TCL_TARGET=shared
    20     20   	fi
    21     21   ], [
    22     22   	TCC4TCL_TARGET=shared
    23     23   ])
    24     24   
    25     25   dnl Configure TCC build options
    26     26   AC_SUBST(TCC_CONFIGURE_OPTS)
................................................................................
    48     48   
    49     49   dnl Perform Tcl Extension required stuff
    50     50   TCLEXT_INIT
    51     51   
    52     52   dnl This must be done last since it breaks the compilation
    53     53   if test "${TCC4TCL_TARGET}" = "shared"; then
    54     54   	DC_SETVERSIONSCRIPT([tcc4tcl.syms], [tcc4tcl.vers])
    55         -fi
    56     55   DC_FIND_STRIP_AND_REMOVESYMS([tcc4tcl.syms])
           56  +fi
    57     57   
    58     58   dnl Produce output
    59     59   AC_OUTPUT(Makefile pkgIndex.tcl tcc4tcl.syms)