Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcupsimage.so.2 should link to libcups #1606

Closed
michaelrsweet opened this issue Apr 26, 2006 · 3 comments
Closed

libcupsimage.so.2 should link to libcups #1606

michaelrsweet opened this issue Apr 26, 2006 · 3 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.2rc3
CUPS.org User: twaugh.redhat

The libcupsimage.so.2 library should be built with -lcups on Linux. Here is a patch to do that.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: twaugh.redhat

More information: this so that -Wl,--as-needed can work.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Actually, there are several places this should happen, not just the default DSO target...

Also, you need to use the LINKCUPS variable since we may also need the SSL libraries...

Anyways, fixed in r5467...

@michaelrsweet
Copy link
Collaborator Author

"cups-link.patch":

--- cups-1.2b2/filter/Makefile.link 2006-03-23 11:42:25.000000000 +0000
+++ cups-1.2b2/filter/Makefile 2006-03-23 11:43:19.000000000 +0000
@@ -218,7 +218,7 @@

libcupsimage.so.2 libcupsimage.sl.2: $(IMAGEOBJS)
echo Linking $@...

  • $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(IMAGEOBJS) $(DSOLIBS) -lm
  • $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(IMAGEOBJS) $(DSOLIBS) -lm -L../cups -lcups
    $(RM) basename $@ .2
    $(LN) $@ basename $@ .2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant