Skip to content

Commit

Permalink
qt6-qtbase: use DYLD_LIBRARY_PATH on OSX to find qt6 libs for execs r…
Browse files Browse the repository at this point in the history
…unning during build
  • Loading branch information
nros committed Mar 29, 2023
1 parent d89722d commit 315816a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion x11/qt6-qtbase/Makefile.common
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.26 2023/01/08 08:13:31 tsutsui Exp $
# $NetBSD: Makefile.common,v 1.27 2023/03/29 17:19:18 nros Exp $
# used by audio/qt6-qtspeech/Makefile
# used by databases/qt6-odbc/Makefile
# used by databases/qt6-psql/Makefile
Expand Down Expand Up @@ -67,7 +67,11 @@ PLIST.notdarwin= yes
# some libs also link to libs in lib so
# this is needed by some ld:s to not
# cause linking errors.
.if ${OPSYS} == "Darwin"
MAKE_ENV+= DYLD_LIBRARY_PATH=${WRKSRC}/lib
.else
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/lib
.endif


# avoid creating a .qt directory in the users home directory
Expand Down

0 comments on commit 315816a

Please sign in to comment.