eudev: fix mkstemp/mkostemp related build failure
authorPeter Seiderer <ps.report@gmx.net>
Sat, 24 Jan 2015 09:09:29 +0000 (10:09 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 24 Jan 2015 09:44:30 +0000 (10:44 +0100)
commit7b4fca6697d9ede0c85e2454eba1c6d13603b5a3
treee76931596ad7cf1fa70ae279aa0a00dcd4905f33
parent29fba02bbaf121f2d1c43ae1d8f215802ebdfb63
eudev: fix mkstemp/mkostemp related build failure

Fixes [1]:

./.libs/libudev-core.a(util.o): In function `mkostemp_safe':
util.c:(.text+0x2950): undefined reference to `mkostemp'

Do not only protect the call to the mkostemp wrapper mkostemp_safe
with HAVE_DECL_MKOSTEMP but also the wrapper itself.

[1] http://autobuild.buildroot.net/results/fa6/fa62883de4ada664521ffc47b611ecd2279c0014/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/eudev/0001-shared-util-fix-mkstemp-mkostemp-related-build-failu.patch [new file with mode: 0644]