Fix FTBFS with ld --as-needed Patch sent by Angel Abad <angelabad@ubuntu.com>

This commit is contained in:
Rodolfo Garcia 2011-09-19 15:35:10 +02:00 committed by Carlos R. Mafra
parent 894136e29d
commit e3ceda0456
3 changed files with 13 additions and 2 deletions

View file

@ -90,3 +90,6 @@ Release 1.6 13 Jul 2011 Support of multiple config files to run multiple
02_multiple_config_files.patch
03_hurd_support.patch
04_xclass_support.patch
Release 1.7 19 Sep 2011 Fix FTBFS with ld --as-needed
Patch sent by Angel Abad <angelabad@ubuntu.com>

View file

@ -13,7 +13,7 @@ EXTRA_LIBS = -L/usr/X11R6/lib -lX11 -lXpm -lXext
LD = g++
LDFLAGS = -o $(EXECUTABLE) $(EXTRA_LIBDIRS) $(EXTRA_LIBS) $(CXXFLAGS)
LDFLAGS = -o $(EXECUTABLE) $(CXXFLAGS)
EXECUTABLE = wmmixer
OBJS = xhandler.o mixctl.o wmmixer.o exception.o
@ -26,7 +26,7 @@ INSTALL_PROGRAM = $(INSTALL) -D -p -o root -g root -m 755
$(CXX) $(CXXFLAGS) -c -o $@ $<
$(EXECUTABLE): $(OBJS)
$(LD) $(LDFLAGS) $(OBJS)
$(LD) $(LDFLAGS) $(OBJS) $(EXTRA_LIBDIRS) $(EXTRA_LIBS)
all: $(EXECUTABLE)

View file

@ -1,3 +1,11 @@
wmmixer (1.7-1) unstable; urgency=low
* New upstream version 1.7
- Fix FTBFS with ld --as-needed
Patch sent by Angel Abad <angelabad@ubuntu.com> [Closes: #640301]
-- Rodolfo García Peñas (kix) <kix@kix.es> Mon, 19 Sep 2011 15:29:32 +0200
wmmixer (1.6-2) unstable; urgency=low
* debian/copyright is now DEP-5