Change linking of dylib.

This commit is contained in:
Martin Rotter 2020-05-12 12:39:49 +02:00
parent af57e4eb3b
commit 935da14bdf
2 changed files with 5 additions and 2 deletions

View File

@ -30,7 +30,7 @@
<url type="donation">https://martinrotter.github.io/donate/</url>
<content_rating type="oars-1.1" />
<releases>
<release version="3.6.1" date="2020-05-07"/>
<release version="3.6.1" date="2020-05-12"/>
</releases>
<content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">none</content_attribute>

View File

@ -10,8 +10,11 @@ make install
# Make DMG image.
cd "src/rssguard"
make dmg
# Fix .dylib linking.
install_name_tool -change "librssguard.dylib" "@executable_path/librssguard.dylib" "RSS Guard.app/Contents/MacOS/rssguard"
otool -L "RSS Guard.app/Contents/MacOS/rssguard"
make dmg
# Rename DMG.
set -- *.dmg