Skip to content

Commit

Permalink
Fix installer pc file generation
Browse files Browse the repository at this point in the history
  • Loading branch information
rainemak committed Apr 20, 2020
1 parent 01b79ad commit 2e29633
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions embedding/embedlite/installer/Makefile.in
Expand Up @@ -46,7 +46,8 @@ pkg_config_files = \
mozilla-plugin.pc \
$(NULL)

ifdef MOZ_NATIVE_NSPR
ifdef MOZ_SYSTEM_NSPR
DEFINES += -DMOZ_SYSTEM_NSPR=1
NSPR_NAME=nspr
NSPR_VERSION=$(shell $(NSPR_CONFIG) --version)
else
Expand All @@ -66,8 +67,10 @@ endif

$(warning FULL_NSPR_CFLAGS=$(FULL_NSPR_CFLAGS))

ifndef MOZ_NATIVE_NSS
ifndef MOZ_SYSTEM_NSS
pkg_config_files += mozilla-nss.pc
else
DEFINES += -DMOZ_SYSTEM_NSS=1
endif

%.pc: $(srcdir)/%.pc.in $(GLOBAL_DEPS)
Expand Down

0 comments on commit 2e29633

Please sign in to comment.