Changeset 389


Ignore:
Timestamp:
Mar 28, 2009, 11:49:49 AM (16 years ago)
Author:
cinc
Message:

Fix for build break on Linux. Now using a more portable function call. Fix for broken garbage collector on linux by using the system gc (tested with gentoo). Thanks to Doodle for looking into this.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/nom/Makefile.kmk

    r388 r389  
    5555ifeq ($(BUILD_TARGET),win)
    5656 libnomobjtk_LIBS += $(PATH_LIB)/libnomgc$(SUFF_LIB)
    57 endif
     57else
    5858ifeq ($(BUILD_TARGET),darwin_)
    5959           libnomobjtk_LIBS += /opt/local/lib/libgc.dylib
    60 endif
     60else
    6161ifeq ($(BUILD_TARGET),freebsd)
    6262           libnomobjtk_LIBS += /usr/local/lib/libgc$(SUFF_DLL)
    6363else
     64ifeq ($(BUILD_TARGET),linux)
     65           libnomobjtk_LIBS += /usr/lib/libgc$(SUFF_DLL)
     66else
    6467           libnomobjtk_LIBS += $(PATH_LIB)/libnomgc$(SUFF_DLL)
     68endif
     69endif
     70endif
    6571endif
    6672
  • trunk/nom/class_c/nomtestcase.c

    r373 r389  
    8282
    8383    /* Only Methods starting with ˚test˚ are run. */
    84     if(0!=strnstr( methodName, "test", 4))
     84    if(strstr(methodName, "test")==methodName)
    8585    {
    8686      NOMTestResult* nResult=NOMTestResultNew();
  • trunk/tests/Makefile.kmk

    r368 r389  
    9393
    9494
    95 test-nom_LIBS.linux = $(PATH_LIB)/libnomgc.so
     95#test-nom_LIBS.linux = $(PATH_LIB)/libnomgc.so
    9696
    9797
Note: See TracChangeset for help on using the changeset viewer.