mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-07 15:12:28 +00:00
Bugzilla bug #20770: on Solaris, gethost.c needs to link with -lsocket
if USE_IPV6=1 is specified.
This commit is contained in:
parent
dfaa05987e
commit
80903f0202
@ -497,10 +497,14 @@ install:: export
|
||||
clean::
|
||||
rm -f $(TARGETS)
|
||||
|
||||
# The prpoll test calls BSD socket functions, so it needs to link
|
||||
# The following tests call BSD socket functions, so they need to link
|
||||
# with -lsocket on some platforms.
|
||||
ifeq ($(OS_ARCH),SunOS)
|
||||
ifneq ($(OS_RELEASE),4.1.3_U1)
|
||||
ifeq ($(USE_IPV6),1)
|
||||
$(OBJDIR)/gethost: $(OBJDIR)/gethost.o
|
||||
$(PURE) $(CC) $(XCFLAGS) $< $(LDOPTS) $(LIBPLC) $(LIBPR) -lsocket $(EXTRA_LIBS) -o $@
|
||||
endif
|
||||
$(OBJDIR)/prpoll: $(OBJDIR)/prpoll.o
|
||||
$(PURE) $(CC) $(XCFLAGS) $< $(LDOPTS) $(LIBPLC) $(LIBPR) -lsocket $(EXTRA_LIBS) -o $@
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user