From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 278713B5 for ; Mon, 6 Oct 2014 22:49:26 +0200 (CEST) Received: by mail-wg0-f46.google.com with SMTP id l18so7666706wgh.5 for ; Mon, 06 Oct 2014 13:56:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=4DfVdVh2IHmmp2rbmg8/4oQFsFkgUmfgrbKSUQCgouk=; b=ggQkxcfdQbweEUCGqXCY+fGRkzOF0BoGO7uRuHeTCLL9O/hGXlU5v+jeLvMujmnIRc l4TLBGF7MPsFoxuu6EVrliN0Id8lHfQxHXCcdUwmzpoGzBfZR/0OnApK2UEG06nzdAJZ 9JsuY+2yyM2y2LqkT6exewM9ybYBoDTUyd2q6qTUsVmqGhCTMPoR8TE3fwgl3ULmECf1 UBw38ebcQpIfnODPjp6brKy6uSJ/vOOBy2L/k+EoxpHHCeONExx5zPuCTgaLS6GpLf61 oFbZSaC1fDHyYI7S7/VXqfEaRvG633URw4I8IOcVClc7MrX5btLIwSIuVx/witKVAyvO tUVw== X-Received: by 10.194.5.234 with SMTP id v10mr32996029wjv.45.1412628995761; Mon, 06 Oct 2014 13:56:35 -0700 (PDT) Received: from localhost.localdomain (ip-89-102-29-19.net.upcbroadband.cz. [89.102.29.19]) by mx.google.com with ESMTPSA id am1sm18445781wjc.29.2014.10.06.13.56.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Oct 2014 13:56:35 -0700 (PDT) From: michal To: dev@dpdk.org Date: Mon, 6 Oct 2014 22:56:20 +0200 Message-Id: <1412628980-11748-1-git-send-email-michal.bella.78@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] mk: link combined shared library with compiler to enable elf ctors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2014 20:49:26 -0000 From: Michal Bella Signed-off-by: michal --- mk/rte.sharelib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.sharelib.mk b/mk/rte.sharelib.mk index c0a811a..a315d98 100644 --- a/mk/rte.sharelib.mk +++ b/mk/rte.sharelib.mk @@ -45,7 +45,7 @@ sharelib: $(LIB_ONE) FORCE OBJS = $(wildcard $(RTE_OUTPUT)/build/lib/*.o) -O_TO_S = $(LD) $(CPU_LDFLAGS) -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE) +O_TO_S = $(CC) $(CPU_LDFLAGS) -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE) O_TO_S_STR = $(subst ','\'',$(O_TO_S)) #'# fix syntax highlight O_TO_S_DISP = $(if $(V),"$(O_TO_S_STR)"," LD $(@)") O_TO_S_CMD = "cmd_$@ = $(O_TO_S_STR)" -- 1.9.1