jpeg includes nsprpub header files and thus needs to know about USE_PTHREADS for some platforms. Fixes SparcLinux.

git-svn-id: svn://10.0.0.236/trunk@8059 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcafee%netscape.com
1998-08-15 01:19:59 +00:00
parent 0c8d2da8cb
commit 510af228fe

View File

@@ -78,5 +78,11 @@ DEF_FILE = $(LIBRARY_NAME).def
TARGETS = $(LIBRARY)
endif
include $(DEPTH)/config/rules.mk
# From nsprpub/config/config.mk, mozilla/jpeg needs to know
# about USE_PTHREADS. This fixes platforms like SparcLinux. -mcafee
ifeq ($(USE_PTHREADS), 1)
OS_CFLAGS += -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM
endif