[cups.bugs] Patch to fix libcupsimage.so linking
Martin Pitt
martin.pitt at ubuntu.com
Wed Jan 18 05:25:49 PST 2006
Hi Cups developers!
We recently noticed that we get a lot of package build failures due to
unresolved symbols if we do not link libcupsimage.so against
libcups.so. We fixed that with attached patch. Did you ever hear about
similar reports?
Thanks,
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
In a world without walls and fences, who needs Windows and Gates?
-------------- next part --------------
Fix unresolved symbols if libcupsimage is not properly linked to libcupsys,
causing build failures in other packages.
diff -urNad cupsys-1.1.99.b1.r4841~/filter/Makefile cupsys-1.1.99.b1.r4841/filter/Makefile
--- cupsys-1.1.99.b1.r4841~/filter/Makefile 2005-10-21 00:05:42.000000000 +1000
+++ cupsys-1.1.99.b1.r4841/filter/Makefile 2005-12-09 17:46:39.000000000 +1100
@@ -131,9 +131,9 @@
# libcupsimage.so.2, libcupsimage.sl.2
#
-libcupsimage.so.2 libcupsimage.sl.2: $(IMAGEOBJS)
+libcupsimage.so.2 libcupsimage.sl.2: $(IMAGEOBJS) ../cups/$(LIBCUPS)
echo Linking $@...
- $(DSO) $(DSOFLAGS) -o $@ $(IMAGEOBJS) $(DSOLIBS) -lm
+ $(DSO) $(DSOFLAGS) -o $@ $(IMAGEOBJS) $(DSOLIBS) -lm ../cups/$(LIBCUPS)
$(RM) `basename $@ .2`
$(LN) $@ `basename $@ .2`
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20060118/670abb85/attachment.sig>
More information about the cups-devel
mailing list