File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ VPATH = @srcdir@
33
44include $(srcdir ) /../../Mk/macports.autoconf.mk
55
6- CFLAGS += -fPIC
6+ CFLAGS += -fPIC $( UNIVERSAL_ARCHFLAGS )
77
88SRCS = \
99 $(srcdir ) /shm_alloc/shm_alloc.c \
Original file line number Diff line number Diff line change 4646CPPFLAGS+ = -I$(srcdir ) /../compat
4747LIBS+ = $(COMPAT_OBJS )
4848
49+ CFLAGS += ${UNIVERSAL_ARCHFLAGS}
50+
4951SHLIB_NAME = Pextlib${SHLIB_SUFFIX}
5052INSTALLDIR = ${TCL_PACKAGE_PATH}/pextlib1.0
5153
@@ -62,7 +64,7 @@ $(SHLIB_NAME): $(DARWINTRACE_SHARE_LIB)
6264
6365ifeq (darwin,@OS_PLATFORM@)
6466LIBS+ = ../registry2.0/registry${SHLIB_SUFFIX}
65- SHLIB_LDFLAGS+ = -install_name ${INSTALLDIR}/${SHLIB_NAME}
67+ SHLIB_LDFLAGS+ = -install_name ${INSTALLDIR}/${SHLIB_NAME} ${UNIVERSAL_ARCHFLAGS}
6668${SHLIB_NAME} : ../registry2.0/registry${SHLIB_SUFFIX}
6769endif
6870
You can’t perform that action at this time.
0 commit comments