blob: 0c3ee96b85a52a04c65a561c162adb0a1b28323b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff --git a/libraw-config b/libraw-config
index 2ddfb6d..dc49ebf 100755
--- a/libraw-config
+++ b/libraw-config
@@ -59,9 +59,9 @@ libs() {
# TODO: Cannot check version of library if no .pc file installed.
exists() {
- if pkg-config --silence-errors --exists 'libraw_r >= $3'; then
+ if pkg-config --silence-errors --exists "libraw_r >= $1"; then
:
- elif pkg-config --silence-errors --exists 'libraw >= $3'; then
+ elif pkg-config --silence-errors --exists "libraw >= $1"; then
:
elif ! searchpath $LIB_DIRS "libraw_r.a" || ! searchpath $HEADER_DIRS "libraw/libraw.h"; then
printf "\nPackage libraw not found\n"
|