Skip to content

Commit

Permalink
Fix macos build RPATHDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
prodrigestivill committed Dec 29, 2024
1 parent 68391de commit 856bbfd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Iaito.pro
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ CONFIG+=app_bundle

CONFIG += sdk_no_version_check

unix:QMAKE_RPATHDIR += /usr/local/lib
unix:QMAKE_LFLAGS_RPATH=
unix:QMAKE_LFLAGS += "-Wl,-rpath,/usr/local/lib"
unix:!macx {
QMAKE_RPATHDIR += /usr/local/lib
QMAKE_LFLAGS_RPATH=
QMAKE_LFLAGS += "-Wl,-rpath,/usr/local/lib"
}

QMAKE_CXXFLAGS += $$(CXXFLAGS)
QMAKE_CFLAGS += $$(CFLAGS)
Expand Down

0 comments on commit 856bbfd

Please sign in to comment.