Closed Bug 1658457 Opened 4 years ago Closed 4 years ago

Make nsCUPSShim use compile-time functions on OS X

Categories

(Core :: Printing: Setup, enhancement, P3)

All
macOS
enhancement

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: alaskanemily, Assigned: alaskanemily)

Details

Attachments

(1 file)

We don't need to dlopen the CUPS library on OS X, as it is guaranteed to exist. We should also consider making it easier to make this a configure option on both OS X and Linux.

This uses an additional define to control this, as ideally we would have a
configure option to link directly to CUPS which would be set by default on
OS X.

This single define also makes it easier to test either configuration on OS X
and on other Unix.

Pushed by emcdonough@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/649211d56823
Use constexpr static pointers for nsCUPSShim on OS X r=emilio
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: