Skip to content

Commit

Permalink
set LDFLAGS to include lib dir
Browse files Browse the repository at this point in the history
  • Loading branch information
John Doe committed Jul 11, 2024
1 parent 6d6fe85 commit 227a29c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/build-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,3 @@ jobs:
${PLUGIN_FILE} \
--repo '${{ github.repository }}'
- name: Upload logs
uses: actions/upload-artifact@v2
if: always()
with:
name: logs-all
path: ${{ github.workspace }}/build/**
retention-days: 3
2 changes: 1 addition & 1 deletion plugins/ffms2.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"commands": [
{ "cmd": ["tar", "xzf", "ffms2-5.0.tar.gz"] },
{ "cwd": "ffms2-5.0", "cmd": ["./autogen.sh"] },
{ "cwd": "ffms2-5.0", "flags": {"LDFLAGS": "-Wl,-Bsymbolic"}, "cmd": ["./configure", "--prefix={WORKSPACEDIR}"] },
{ "cwd": "ffms2-5.0", "flags": { "LDFLAGS": "-Wl,-Bsymbolic" }, "cmd": ["./configure", "--prefix={WORKSPACEDIR}"] },
{ "cwd": "ffms2-5.0", "cmd": ["make", "-j{NPROC}"] },
{ "cwd": "ffms2-5.0", "cmd": ["make", "install"] }
]
Expand Down
1 change: 1 addition & 0 deletions vsp-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def setup_environment() -> bool:
environment['PKG_CONFIG_PATH'] = os.path.join(config_vars['WORKSPACEDIR'],'lib/pkgconfig')
environment['LD_LIBRARY_PATH'] = os.path.join(config_vars['WORKSPACEDIR'],'lib')
environment['CFLAGS'] = '-I'+os.path.join(config_vars['WORKSPACEDIR'],'include')+' '+environment.get('CFLAGS','')
environment['LDFLAGS'] = '-L'+os.path.join(config_vars['WORKSPACEDIR'],'lib')+' '+environment.get('LDFLAGS','')
return True

def compare_version(ver_a: str, ver_b: str) -> int:
Expand Down

0 comments on commit 227a29c

Please sign in to comment.