Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Attempt to fix tests on osx
Baptiste Daroussin committed 6 years ago
commit ffce85cc78117cc129ad0b47773683a9ff730443
parent 2200f40
1 file changed +5 -0
modified tests/Makefile.autosetup
@@ -107,6 +107,11 @@ OTHER_LIBS+= -ldl
OTHER_LIBS+=	-lresolv
@endif

+
# Hack to determine we are on osx
+
@if libabidir == libmachista
+
OTHER_LIBS+=	-lresolv
+
@endif
+

LOCAL_LDFLAGS=	$(LIBS) $(OTHER_LIBS)
LOCAL_LDFLAGS+=	@PKG_ATF_C_LDFLAGS@ @PKG_ATF_C_LIBS@