Skip to content

Commit

Permalink
Change ldflags to end
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Oct 23, 2023
1 parent aa2f6d4 commit c7b1430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rcrypto-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2021"

[lib]
# crate-type = ["cdylib"]
# FIXME: how do we make this cdylib only?
# https://github.com/rust-lang/cargo/issues/9096
crate-type = ["cdylib", "lib"]

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion rcrypto-sys/tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ $(dir_testout)test_%.$(target_extension): $(dir_build)unity.o \
$(dir_build)test_framework.o $(dir_build)test_%.o
pwd
ls -l $(dir_sharedlib)
$(link) $(ldflags) -o $@ $^
$(link) -o $@ $^ $(ldflags)

# make all test object files
$(dir_build)test_%.o:: $(dir_tests)%.c
Expand Down

0 comments on commit c7b1430

Please sign in to comment.