File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,10 @@ mongoserver: LDFLAGS+= -lcrypt -lsasl2 -L/usr/local/lib -lmongoc-1.0 -lbson-1.0
6666endif
6767
6868ifeq ($(UNAME ) , Darwin)
69- $(info ************ MAC VERSION ************)
70- LDFLAGS=-mmacosx-version-min =10.7 $(PGLOAD )
71- CFLAGS=-mmacosx-version-min =10.7 -c -Wall -funsigned-char -Wno-write-strings -Wno-char-subscripts
69+ OSXRELEASE := $(shell defaults read loginwindow SystemVersionStampAsString)
70+ $(info ************ MAC VERSION $OSXRELEASE detected ************)
71+ LDFLAGS=-mmacosx-version-min =$(OSXRELEASE ) -lcurl $(PGLOAD )
72+ CFLAGS=-mmacosx-version-min =$(OSXRELEASE ) -c -Wall -funsigned-char -Wno-write-strings -Wno-char-subscripts
7273endif
7374
7475SOURCES =constructCode.cpp evserver.cpp csocket.cpp cs_ev.c dictionarySystem.cpp englishTagger.cpp factSystem.cpp json.cpp functionExecute.cpp english.cpp infer.cpp javascript.cpp jsmn.cpp markSystem.cpp mongodb.cpp os.cpp outputSystem.cpp patternSystem.cpp postgres.cpp privatesrc.cpp scriptCompile.cpp spellcheck.cpp secure.cpp systemVariables.cpp tagger.cpp testing.cpp textUtilities.cpp tokenSystem.cpp topicSystem.cpp userCache.cpp userSystem.cpp variableSystem.cpp mainSystem.cpp
You can’t perform that action at this time.
0 commit comments