diff --git a/lib/python/Makefile.lammps.python3.4 b/lib/python/Makefile.lammps.python3.4
index 897e631a5..0418492d2 100644
--- a/lib/python/Makefile.lammps.python3.4
+++ b/lib/python/Makefile.lammps.python3.4
@@ -1,6 +1,6 @@
 # Settings that the LAMMPS build will import when this package library is used
 # See the README file for more explanation
 
-python_SYSINC = -I/usr/local/include/python2.7
-python_SYSLIB = -lpython2.7 -lnsl -ldl -lreadline -ltermcap -lpthread -lutil -lm
+python_SYSINC = -I/usr/local/include/python3.4m
+python_SYSLIB = -lpython3.4ma -lnsl -ldl -lreadline -ltermcap -lpthread -lutil -lm
 python_SYSPATH =