From patchwork Sun Jun 2 09:13:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Orgad Shaneh X-Patchwork-Id: 32966 Received: (qmail 43398 invoked by alias); 2 Jun 2019 09:14:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 43390 invoked by uid 89); 2 Jun 2019 09:14:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, UPPERCASE_50_75 autolearn=ham version=3.3.1 spammy=HX-Received:Sun, HX-Gm-Message-State:APjAAAX, HX-Languages-Length:892 X-HELO: mail-wm1-f51.google.com Received: from mail-wm1-f51.google.com (HELO mail-wm1-f51.google.com) (209.85.128.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 02 Jun 2019 09:13:58 +0000 Received: by mail-wm1-f51.google.com with SMTP id d17so854920wmb.3 for ; Sun, 02 Jun 2019 02:13:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=tnyyJ5fAODScdLZ0JtbuI+Sf2STEsxfR9gQ/AAsKdZk=; b=i+n9o4FksoJUDZsUhxmw7qwn7q5lBiqG7CkZ1SwccuVSEBpF9bf1M29gdgxaHIU17+ oqJ/rkugwk2wptguRPM0TSMaUZ88PwS1kIwWihd+utJZqmGvtNawQeYVpFuP/2i3pr6R cFp8YobWCeyHdikaL8kRZ00u21zIj5PFv+tkIiuwyX4/NaofiVCyDzTlD5pB5/IYSvAx TDCWEq8M2NJIGQYD3ZRtz5v2bEYoaW2ct+XfsOWzrbgHZeflXxMKj60vm728tB5YaAgH rs9fmjNAqLWWZT57weUwof1k0DBHrD1TU3Jz5YeohQR2aywOMT86aQhJMpEtTVBDxXpu oLdA== Return-Path: Received: from instance-1.europe-west3-c.c.optimal-cogency-174606.internal. (121.78.234.35.bc.googleusercontent.com. [35.234.78.121]) by smtp.gmail.com with ESMTPSA id y2sm20287977wra.58.2019.06.02.02.13.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Jun 2019 02:13:55 -0700 (PDT) From: orgads@gmail.com To: gdb-patches@sourceware.org Cc: Orgad Shaneh Subject: [PATCH] Fix link order on Windows Date: Sun, 2 Jun 2019 09:13:52 +0000 Message-Id: <20190602091352.3651-1-orgads@gmail.com> From: Orgad Shaneh libgnu uses ntop, which comes from ws2_32 library, so ws2_32 needs to be linked after libgnu. --- gdb/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.22.0.rc0.windows.1 diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 5614cc3386..037f9ae356 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -595,8 +595,8 @@ CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(ZLIB) $(INTL) $(LIBIBERTY) $(LIBD $(XM_CLIBS) $(GDBTKLIBS) \ @LIBS@ @GUILE_LIBS@ @PYTHON_LIBS@ \ $(LIBEXPAT) $(LIBLZMA) $(LIBBABELTRACE) $(LIBIPT) \ - $(LIBIBERTY) $(WIN32LIBS) $(LIBGNU) $(LIBICONV) $(LIBMPFR) \ - $(SRCHIGH_LIBS) + $(LIBIBERTY) $(LIBGNU) $(LIBICONV) $(LIBMPFR) \ + $(SRCHIGH_LIBS) $(WIN32LIBS) CDEPS = $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \ $(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU)