Skip to content

Commit

Permalink
build: use -export-dynamic instead of -export_dynamic
Browse files Browse the repository at this point in the history
GNU libtool accepts either, but slibtool's option parsing is more strict
and just ends up passing -export_dynamic to the compiler, which
obviously causes an error. Use -export-dynamic to fix building with
slibtool.
  • Loading branch information
vimproved committed Dec 7, 2024
1 parent 1a6ef3e commit d5f0bc5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/btrfs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ libudisks2_btrfs_la_CFLAGS = \
$(NULL)

libudisks2_btrfs_la_LDFLAGS = \
-export_dynamic \
-export-dynamic \
-avoid-version \
-module \
-no-undefined \
Expand Down
2 changes: 1 addition & 1 deletion modules/iscsi/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ libudisks2_iscsi_la_CFLAGS = \
$(NULL)

libudisks2_iscsi_la_LDFLAGS = \
-export_dynamic \
-export-dynamic \
-avoid-version \
-module \
-no-undefined \
Expand Down
2 changes: 1 addition & 1 deletion modules/lsm/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ libudisks2_lsm_la_CFLAGS = \
$(NULL)

libudisks2_lsm_la_LDFLAGS = \
-export_dynamic \
-export-dynamic \
-avoid-version \
-module \
-no-undefined \
Expand Down
2 changes: 1 addition & 1 deletion modules/lvm2/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ libudisks2_lvm2_la_CFLAGS = \
$(NULL)

libudisks2_lvm2_la_LDFLAGS = \
-export_dynamic \
-export-dynamic \
-avoid-version \
-module \
-no-undefined \
Expand Down

0 comments on commit d5f0bc5

Please sign in to comment.