Skip to content

Commit

Permalink
Set -headerpad_max_install_names
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Aug 27, 2024
1 parent 51b1174 commit d5e63d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ else ifneq (,$(findstring darwin,$(host_os)))
LINK_SHLIB_FLAGS += -compatibility_version $(LIBGAP_COMPAT_VER)
LINK_SHLIB_FLAGS += -current_version $(LIBGAP_CURRENT_VER)
LINK_SHLIB_FLAGS += -Wl,-single_module
LINK_SHLIB_FLAGS += -headerpad_max_install_names

GAP_CPPFLAGS += -DPIC
GAP_CFLAGS += -fno-common
Expand Down

0 comments on commit d5e63d3

Please sign in to comment.