Bug#580372: libbsd0: Makefile needs a small fix?
Package: libbsd0
Version: 0.2.0-1
Severity: wishlist
While porting the package to another arch, I noticed what I think may
be a small problem and this patch should fix:
--- Makefile.~1~ 2010-01-10 15:29:51.000000000 +0100
+++ Makefile 2010-05-01 15:23:26.000000000 +0200
@@ -149,7 +149,7 @@
ln -fs $^ $@
$(LIB_SHARED): $(LIB_SHARED_OBJS)
- gcc -shared \
+ $(CC) -shared \
-Wl,-soname -Wl,$(LIB_SONAME) \
-Wl,--version-script=Versions \
-o $@ $^
@@ -200,4 +200,3 @@
rm -f $(LIB_STATIC)
rm -f $(LIB_SHARED_OBJS)
rm -f $(LIB_SHARED) $(LIB_SONAME) $(LIB_SHARED_SO)
-
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages libbsd0 depends on:
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
libbsd0 recommends no packages.
libbsd0 suggests no packages.
-- no debconf information
Cheers,
--
Cristian
Reply to: