mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-01 04:03:18 +03:00
Thanks for libmicrohttpd! It's really useful for writing unit tests for http clients and code interacting with http servers. I mostly write code for Symbian, so I ported the library to Symbian OS. You can see the patch at http://codereview.appspot.com/130056/show . I'm not sure if you agree with how the changes have been structured, but hopefully we can work towards a version that can be integrated. Note that Symbian doesn't have autoconf and only a partial C library. Best regards, Mika Raento
40 lines
1.1 KiB
Python
40 lines
1.1 KiB
Python
from scons_symbian import *
|
|
|
|
def MicroHttpd():
|
|
target = "microhttpd"
|
|
targettype = "lib"
|
|
libraries = [ "euser", "libc", "libstdcpp" ]
|
|
|
|
uid3 = 0
|
|
|
|
sources = Glob("../src/daemon/*c", strings = True)
|
|
sources += Glob("../../plibc/src/*search.c", strings = True)
|
|
sources = [ s for s in sources if s.find("test") < 0 ]
|
|
sources = [ s for s in sources if s.find("https") < 0 ]
|
|
|
|
includes = ['.',
|
|
'../src/include',
|
|
'../../libc/src/include',
|
|
]
|
|
sysincludes = [ EPOC32_INCLUDE,
|
|
join(EPOC32_INCLUDE, 'stdapis'),
|
|
join(EPOC32_INCLUDE, 'stdapis', 'stlport'),
|
|
join(EPOC32_INCLUDE, 'libc'),
|
|
]
|
|
defines = [
|
|
"_STLP_NO_WCHAR_T",
|
|
]
|
|
|
|
return SymbianProgram( target, targettype,
|
|
sources = sources,
|
|
includes = includes,
|
|
sysincludes = sysincludes,
|
|
libraries = libraries,
|
|
defines = defines,
|
|
epocstacksize = 8192,
|
|
epocheapsize = (0x1000,0x100000),
|
|
uid3 = uid3,
|
|
)
|
|
|
|
microhttpd = MicroHttpd()
|