The following commit has been merged in the master branch:
commit 5e83d054b1a790d49bc88e3dd0e8fbb872d51d8f
Author: Guillem Jover <[email protected]>
Date: Sun Aug 16 15:06:08 2009 +0200
Use backticks instead of non-portable make $(shell ...) function
The backticks are treated like text, until the shell expands them, thus
making this solution portable.
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index c718512..690821f 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -172,7 +172,7 @@ check: $(TEST_FILES) $(wildcard
$(srcdir)/t/200_Dpkg_Shlibs/ld.so.conf*) mkdir_t
cp -dRl $(srcdir)/t/200_Dpkg_Shlibs/ld.so.conf* t.tmp/
PATH="$(top_builddir)/src:$(top_builddir)/scripts:$(PATH)"
srcdir=$(srcdir) PERL5LIB=$(srcdir) DPKG_DATADIR=$(srcdir)/.. PERL_DL_NONLAZY=1
$(PERL) -I$(srcdir) "-MExtUtils::Command::MM" "-e"
"test_harness($(TEST_VERBOSE), '.')" $(TEST_FILES)
-objdump_lib_name = lib$(shell basename $@).so
+objdump_lib_name = lib`basename $...@`.so
$(srcdir)/t/200_Dpkg_Shlibs/objdump.tags-amd64
$(srcdir)/t/200_Dpkg_Shlibs/objdump.tags-i386:
$(srcdir)/t/200_Dpkg_Shlibs/symboltags.c
$(CC) $(CFLAGS) -shared -fPIC -Wl,-soname -Wl,libsymboltags.so.1 $< \
$(if $(findstring amd64,$@),-DAMD64,) -o $(objdump_lib_name)
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]