Skip to content

Commit

Permalink
Adjusted library path in moses/TranslationModel/UG/Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ugermann committed Jan 14, 2017
1 parent 2e8bb08 commit 2776022
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions moses/TranslationModel/UG/Makefile
Expand Up @@ -35,7 +35,7 @@ CXXFLAGS += -DMAX_NUM_FACTORS=4
CXXFLAGS += -DKENLM_MAX_ORDER=5
CXXFLAGS += -DWITH_THREADS
CXXFLAGS += -DNO_MOSES
CXXFLAGS += -DMMT
# CXXFLAGS += -DMMT
CXXFLAGS += -I$(dir ${MOSES_ROOT})mmt-only
CXXFLAGS += -I${MOSES_ROOT} -I. -I${MOSES_ROOT}/opt/include

Expand All @@ -47,7 +47,7 @@ else ifeq ($(variant),syntax)
CXXFLAGS += -fsyntax-only
endif

LDFLAGS = -L${MOSES_ROOT}/opt/lib64 -L./lib/
LDFLAGS = -L${MOSES_ROOT}/opt/lib -L./lib/

# WDIR = build/$(variant)/${HOSTTYPE}/${KERNEL}
WDIR = build/$(variant)
Expand All @@ -73,7 +73,7 @@ DYNAMIC_LIBS = pthread
#DYNAMIC_LIBS += tcmalloc

LIBS = -Wl,-B$(link)
LIBS += -L${MOSES_ROOT}/opt/lib64 ${BOOSTLIBS}
LIBS += -L${MOSES_ROOT}/opt/lib ${BOOSTLIBS}
LIBS += $(addprefix -l,${STATIC_LIBS})
LIBS += -Wl,-Bdynamic
LIBS += $(addprefix -l,${DYNAMIC_LIBS})
Expand Down

0 comments on commit 2776022

Please sign in to comment.