mozilla-pkgconfig.patch
changeset 410 0af1b0003b9f
parent 382 67f876aafae8
child 440 8e36d7509c1b
child 443 12f422228367
equal deleted inserted replaced
409:ff30593d2daa 410:0af1b0003b9f
     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 @@ -68,16 +68,19 @@ INSTALL_SDK = 1
     7 @@ -69,16 +69,19 @@ ifndef MOZ_PLATFORM_MAEMO
     8  ifndef MOZ_PLATFORM_MAEMO
       
     9  GENERATE_CACHE = 1
     8  GENERATE_CACHE = 1
    10  endif
     9  endif
    11  
    10  
       
    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-11
    17 +apilibdir = $(dir $(installdir))xulrunner-12
    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 @@ -105,16 +108,17 @@ pkg_config_files += mozilla-nss.pc
    27 @@ -106,16 +109,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)|" \