Check-in [d8a575fad2]
Overview
Comment:Updated to include TCL_LIBS when trying to link appfs, which may be needed if we are linking statically
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d8a575fad2ec2ddaa3f222ca7c16737a5124538a
User & Date: rkeene on 2017-02-23 22:25:40
Other Links: manifest | tags
Context
2017-02-23
22:31
Added script to build static AppFS packages check-in: 232fd3b1ce user: rkeene tags: trunk
22:25
Updated to include TCL_LIBS when trying to link appfs, which may be needed if we are linking statically check-in: d8a575fad2 user: rkeene tags: trunk
2017-02-22
23:03
Fixed reference counting with the "exec" target check-in: fc81c2f879 user: rkeene tags: trunk
Changes

Modified Makefile from [d52309762b] to [93d27dc1a8].

    23     23   TCLCONFIG_SH_PATH = $(TCLKIT_SDK_DIR)/lib/tclConfig.sh
    24     24   TCL_LDFLAGS = -Wl,-R,$(TCLKIT_SDK_DIR)/lib
    25     25   export TCLKIT_SDK_DIR
    26     26   else
    27     27   TCLCONFIG_SH_PATH = $(shell echo 'puts [::tcl::pkgconfig get libdir,install]' | tclsh)/tclConfig.sh
    28     28   endif
    29     29   TCL_CFLAGS = $(shell . $(TCLCONFIG_SH_PATH); echo "$${TCL_INCLUDE_SPEC} $${TCL_DEFS}")
    30         -TCL_LIBS = $(shell . $(TCLCONFIG_SH_PATH); echo "$${TCL_LIB_SPEC}")
           30  +TCL_LIBS = $(shell . $(TCLCONFIG_SH_PATH); echo "$${TCL_LIB_SPEC} $${TCL_LIBS}")
    31     31   
    32     32   all: appfsd
    33     33   
    34     34   appfsd: appfsd.o sha1.o
    35     35   	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o appfsd appfsd.o sha1.o $(LIBS)
    36     36   
    37     37   appfsd.o: appfsd.c appfsd.tcl.h pki.tcl.h