summaryrefslogtreecommitdiff
path: root/lib/exported.sh.in
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-07-01 04:59:56 +0200
committerBruno Haible <bruno@clisp.org>2019-07-01 04:59:56 +0200
commitc5b665df10effdd8680c9e37fe73c9171ad1bee2 (patch)
treeaef2d6e5276b236f0d1d26b12bbdf11ab397c7db /lib/exported.sh.in
parent1fd6790a8c3698336399acd0504b2e470eca8789 (diff)
downloadlibunistring-c5b665df10effdd8680c9e37fe73c9171ad1bee2.tar.gz
build: Fix build errors with MSVC.
* lib/exported.sh.in: Remove one level of eval. * lib/Makefile.am (config.h): Redirect compiler output to stderr. Remove symbols that contain an '@'.
Diffstat (limited to 'lib/exported.sh.in')
-rw-r--r--lib/exported.sh.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/exported.sh.in b/lib/exported.sh.in
index 1e5fdc0..be7fb38 100644
--- a/lib/exported.sh.in
+++ b/lib/exported.sh.in
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2009, 2019 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,5 +20,4 @@
# This is a separate script because $(GLOBAL_SYMBOL_PIPE) cannot be used in a
# Makefile, since it may contain dollar signs.
-nm_cmd="@NM@ \"\$1\" | @GLOBAL_SYMBOL_PIPE@"
-eval $nm_cmd
+@NM@ "$1" | @GLOBAL_SYMBOL_PIPE@