pkgsrc-WIP-changes archive

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

openfodder: set the rpath so that libSDL2 will be found



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Mon Aug 7 17:31:35 2023 +0200
Changeset:	ffdac8cd52976c6763b9791439d5fd2c6fbe9fc7

Modified Files:
	openfodder/Makefile

Log Message:
openfodder: set the rpath so that libSDL2 will be found

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

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

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

diffs:
diff --git a/openfodder/Makefile b/openfodder/Makefile
index 0d740c0908..76ed0b8bb3 100644
--- a/openfodder/Makefile
+++ b/openfodder/Makefile
@@ -21,6 +21,8 @@ CXXFLAGS+=	`sdl2-config --cflags`
 LIBS+=		`sdl2-config --libs`
 LIBS+=		-lSDL2_mixer
 LIBS+=		${X11_LDFLAGS}
+LIBS+=		${COMPILER_RPATH_FLAG}${PREFIX}/lib
+LIBS+=		-L${PREFIX}/lib
 
 DEPENDS+=	openfodder-data-1.7.0:../../wip/openfodder-data
 


Home | Main Index | Thread Index | Old Index