pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

OpenLara: use LDFLAGS and fix linking with libGL



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Thu Dec 30 22:19:23 2021 +0200
Changeset:	68e87355174021210bf61e5da1fdcb98180881ef

Modified Files:
	OpenLara/Makefile

Log Message:
OpenLara: use LDFLAGS and fix linking with libGL

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=68e87355174021210bf61e5da1fdcb98180881ef

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 OpenLara/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/OpenLara/Makefile b/OpenLara/Makefile
index 0c632f8d0f..b271eb1f34 100644
--- a/OpenLara/Makefile
+++ b/OpenLara/Makefile
@@ -34,6 +34,7 @@ do-build:
 		../../libs/minimp3/minimp3.cpp \
 		../../libs/tinf/tinflate.c \
 		-I../../ \
+		${LDFLAGS} \
 		`sdl2-config --libs` -lGL -lm -lrt \
 		${PTHREAD_LIBS}
 
@@ -41,6 +42,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/OpenLara ${DESTDIR}${PREFIX}/bin/
 
 .include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../wip/mk/git-package.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index