diff options
Diffstat (limited to 'meta/recipes-support/apr/apr-util/configfix.patch')
-rw-r--r-- | meta/recipes-support/apr/apr-util/configfix.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr-util/configfix.patch b/meta/recipes-support/apr/apr-util/configfix.patch new file mode 100644 index 0000000000..a8953e5244 --- /dev/null +++ b/meta/recipes-support/apr/apr-util/configfix.patch | |||
@@ -0,0 +1,49 @@ | |||
1 | Index: apr-util-1.3.4/apu-config.in | ||
2 | =================================================================== | ||
3 | --- apr-util-1.3.4.orig/apu-config.in 2009-01-12 17:08:06.000000000 +0000 | ||
4 | +++ apr-util-1.3.4/apu-config.in 2009-01-12 17:09:00.000000000 +0000 | ||
5 | @@ -134,14 +134,7 @@ | ||
6 | exit 0 | ||
7 | ;; | ||
8 | --includes) | ||
9 | - if test "$location" = "installed"; then | ||
10 | flags="$flags -I$includedir $INCLUDES" | ||
11 | - elif test "$location" = "source"; then | ||
12 | - flags="$flags -I$APU_SOURCE_DIR/include $INCLUDES" | ||
13 | - else | ||
14 | - # this is for VPATH builds | ||
15 | - flags="$flags -I$APU_BUILD_DIR/include -I$APU_SOURCE_DIR/include $INCLUDES" | ||
16 | - fi | ||
17 | ;; | ||
18 | --ldflags) | ||
19 | flags="$flags $LDFLAGS" | ||
20 | @@ -155,28 +148,10 @@ | ||
21 | exit 0 | ||
22 | ;; | ||
23 | --link-ld) | ||
24 | - if test "$location" = "installed"; then | ||
25 | - ### avoid using -L if libdir is a "standard" location like /usr/lib | ||
26 | flags="$flags -L$libdir -l$APRUTIL_LIBNAME" | ||
27 | - else | ||
28 | - flags="$flags -L$APU_BUILD_DIR -l$APRUTIL_LIBNAME" | ||
29 | - fi | ||
30 | ;; | ||
31 | --link-libtool) | ||
32 | - # If the LA_FILE exists where we think it should be, use it. If we're | ||
33 | - # installed and the LA_FILE does not exist, assume to use -L/-l | ||
34 | - # (the LA_FILE may not have been installed). If we're building ourselves, | ||
35 | - # we'll assume that at some point the .la file be created. | ||
36 | - if test -f "$LA_FILE"; then | ||
37 | - flags="$flags $LA_FILE" | ||
38 | - elif test "$location" = "installed"; then | ||
39 | - ### avoid using -L if libdir is a "standard" location like /usr/lib | ||
40 | - # Since the user is specifying they are linking with libtool, we | ||
41 | - # *know* that -R will be recognized by libtool. | ||
42 | - flags="$flags -L$libdir -R$libdir -l$APRUTIL_LIBNAME" | ||
43 | - else | ||
44 | - flags="$flags $LA_FILE" | ||
45 | - fi | ||
46 | + flags="$flags -l$APRUTIL_LIBNAME" | ||
47 | ;; | ||
48 | --apu-la-file) | ||
49 | if test -f "$LA_FILE"; then | ||