Ticket #8039: 8039-config.patch

File 8039-config.patch, 990 bytes (added by Nigel, 14 years ago)

Better patch?

  • configure

     
    30563056check_func_headers sys/time.h gettimeofday
    30573057check_func_headers "sys/types.h sys/socket.h ifaddrs.h" getifaddrs
    30583058
     3059# libmythhdhomerun now uses clock_gettime, which some Unixes need -lrt for:
     3060check_func clock_gettime || \
     3061    { check_func clock_gettime -lrt && add_extralibs -lrt; }
     3062
    30593063if ! enabled_any memalign memalign_hack && enabled need_memalign ; then
    30603064    die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
    30613065fi
  • libs/libmythhdhomerun/libmythhdhomerun.pro

     
    3737    LIBS += -lws2_32 -liphlpapi -lpthread
    3838}
    3939
     40LIBS += $$EXTRALIBS
     41
    4042include ( ../libs-targetfix.pro )