forked from subsurface/subsurface
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macOS: fix broken .pc file for libmtp
This has bugged me forever. The existing file creates a warning on every single compiler invocation. I really need to figure out if I can get this fixed upstream. But while I'm at it, I submitted it here to make it easier to spot warnings in the build output. Signed-off-by: Dirk Hohndel <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/libmtp.pc.in b/libmtp.pc.in | ||
index 93c7bbf..ff817e1 100644 | ||
--- a/libmtp.pc.in | ||
+++ b/libmtp.pc.in | ||
@@ -10,6 +10,6 @@ Description: libmtp is a library for accessing Media Transfer Protocol devices | ||
Version: @VERSION@ | ||
Requires.private: @LIBUSB_REQUIRES@ | ||
Conflicts: | ||
-Libs: -L${libdir} -lmtp | ||
+Libs: -L${libdir} -lmtp @OSFLAGS@ | ||
Libs.private: @LIBS@ | ||
-Cflags: -I${includedir} @OSFLAGS@ | ||
+Cflags: -I${includedir} |