1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

Fix linking after r404875.

There was a typo in the line setting LDFLAGS: we need -L/some/dir, not
/some/dir.

From the logs:
  /usr/local/lib: file not recognized: Is a directory
  c++: error: linker command failed with exit code 1 (use -v to see invocation)

Thanks to antoine for raising the issue, and sorry for the brain fart.

MFH:		2015Q4
This commit is contained in:
Raphael Kubo da Costa 2016-01-02 22:58:27 +00:00
parent f4e149fe58
commit 8bae422c1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405098

View File

@ -16,7 +16,7 @@ GH_ACCOUNT= Ryochan7
# Upstream assumes ${LOCALBASE}/lib is part of the default linker path. Pull
# request 268 fixes it for X11 libraries, but SDL2 is still using pkg-config
# output (without full paths).
LDFLAGS+= ${LOCALBASE}/lib
LDFLAGS+= -L${LOCALBASE}/lib
USE_XORG= x11 xtst
USE_QT5= linguisttools_build qmake_build buildtools_build widgets network