mozilla-pkgconfig.patch
changeset 541 830e50bbfc79
parent 533 6bcb1bfae08e
child 585 5a44d417c9b5
equal deleted inserted replaced
540:55fe9dc16b1f 541:830e50bbfc79
     2 Subject: pkgconfig tuning
     2 Subject: pkgconfig tuning
     3 
     3 
     4 diff --git a/xulrunner/installer/Makefile.in b/xulrunner/installer/Makefile.in
     4 diff --git a/xulrunner/installer/Makefile.in b/xulrunner/installer/Makefile.in
     5 --- a/xulrunner/installer/Makefile.in
     5 --- a/xulrunner/installer/Makefile.in
     6 +++ b/xulrunner/installer/Makefile.in
     6 +++ b/xulrunner/installer/Makefile.in
     7 @@ -69,16 +69,19 @@ ifndef MOZ_PLATFORM_MAEMO
     7 @@ -39,16 +39,19 @@ ifndef MOZ_PLATFORM_MAEMO
     8  GENERATE_CACHE = 1
     8  GENERATE_CACHE = 1
     9  endif
     9  endif
    10  
    10  
    11  include $(topsrcdir)/toolkit/mozapps/installer/signing.mk
    11  include $(topsrcdir)/toolkit/mozapps/installer/signing.mk
    12  include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
    12  include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
    13  
    13  
    14  # Add pkg-config files to the install:: target
    14  # Add pkg-config files to the install:: target
    15  
    15  
    16 +# the apilibdir always ends with 1.9 as every patch update will provide a link
    16 +# the apilibdir always ends with 1.9 as every patch update will provide a link
    17 +apilibdir = $(dir $(installdir))xulrunner-16
    17 +apilibdir = $(dir $(installdir))xulrunner-17
    18 +
    18 +
    19  pkg_config_files = \
    19  pkg_config_files = \
    20  	libxul.pc \
    20  	libxul.pc \
    21  	libxul-embedding.pc \
    21  	libxul-embedding.pc \
    22  	mozilla-js.pc \
    22  	mozilla-js.pc \
    23  	mozilla-plugin.pc \
    23  	mozilla-plugin.pc \
    24  	$(NULL)
    24  	$(NULL)
    25  
    25  
    26  ifdef MOZ_NATIVE_NSPR
    26  ifdef MOZ_NATIVE_NSPR
    27 @@ -106,16 +109,17 @@ pkg_config_files += mozilla-nss.pc
    27 @@ -76,16 +79,17 @@ pkg_config_files += mozilla-nss.pc
    28  endif
    28  endif
    29  
    29  
    30  %.pc: $(srcdir)/%.pc.in $(GLOBAL_DEPS)
    30  %.pc: $(srcdir)/%.pc.in $(GLOBAL_DEPS)
    31  	cat $< | sed \
    31  	cat $< | sed \
    32  	-e "s|%prefix%|$(prefix)|" \
    32  	-e "s|%prefix%|$(prefix)|" \