Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten committed Jul 9, 2024
1 parent eee8858 commit b263f87
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions recipes/recipes_emscripten/pyproj/py_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
filtered_args = []
for arg in args:
print("arg:", arg)
if "-Wl,-R$PREFIX/lib" in arg:
print("removed -Wl,-R$PREFIX/lib")
continue
filtered_args.append(arg)


if ("-Wl,-R$PREFIX/lib" in arg )or ("-R" in arg):
print("removed arg:", arg)
else:
filtered_args.append(arg)

# run the actual command in argv[1]
subprocess.run([sys.argv[1]] + filtered_args)
Expand Down

0 comments on commit b263f87

Please sign in to comment.