fix not found libmozglue

This commit is contained in:
Riccardo Mottola 2018-04-14 22:55:17 +02:00
parent ef01f06b64
commit ef50c78449
2 changed files with 16 additions and 0 deletions

View File

@ -101,6 +101,14 @@ endif
ARCH = darwin
#fix missing libmozglue.dylib on TenFourFox Intel build
ifeq ($(CPU_ARCH), x86)
EXTRA_SHARED_LIBS += \
-L$(DIST)/bin \
$(NULL)
endif
DSO_CFLAGS = -fPIC
# May override this with different compatibility and current version numbers.
DARWIN_DYLIB_VERSIONS = -compatibility_version 1 -current_version 1

View File

@ -91,6 +91,14 @@ endif
endif
ifeq ($(OS_ARCH), Darwin)
#fix missing libmozglue.dylib on TenFourFox Intel build
ifeq ($(CPU_ARCH), x86)
EXTRA_SHARED_LIBS += \
-L$(DIST)/bin \
$(NULL)
endif
EXTRA_SHARED_LIBS += -dylib_file @executable_path/libplc4.dylib:$(DIST)/lib/libplc4.dylib -dylib_file @executable_path/libplds4.dylib:$(DIST)/lib/libplds4.dylib
endif