Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | The openjade build is fairly unique in auto-generating explicit dependencies to |
| 2 | installed .la files. As some distributions may delete these files unless |
| 3 | clearly required, change the Makefile fragment to depend on the .so instead. |
| 4 | |
| 5 | Patch originally by Phil Blundell <philb@brightsign.biz>. |
| 6 | |
| 7 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
| 8 | Upstream-Status: Inappropriate |
| 9 | |
| 10 | --- openjade-1.3.2/Makefile.prog.in~ 2013-05-14 11:42:02.646782318 +0100 |
| 11 | +++ openjade-1.3.2/Makefile.prog.in 2013-05-14 11:54:55.051728343 +0100 |
| 12 | @@ -12,7 +12,7 @@ |
| 13 | |
| 14 | ALL_LIBS = $(XLIBS) $(LIBS) |
| 15 | Makefile.lt: |
| 16 | - echo 'LT_LIBS='`echo $(ALL_LIBS) | sed 's/\.a\s/\.la /g' | sed s/\.a$$/\.la/` > Makefile.lt |
| 17 | + echo 'LT_LIBS='`for d in $(ALL_LIBS); do case $$d in ../*) echo $$d | sed s/\.a$$/.la/g ;; *) echo $$d | sed s/\.a$$/.so/g ;; esac ; done` >Makefile.lt |
| 18 | |
| 19 | PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@') |
| 20 | |