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@
3
3
4
4
include $(srcdir ) /../../Mk/macports.autoconf.mk
5
5
6
- CFLAGS += -fPIC
6
+ CFLAGS += -fPIC $( UNIVERSAL_ARCHFLAGS )
7
7
8
8
SRCS = \
9
9
$(srcdir ) /shm_alloc/shm_alloc.c \
Original file line number Diff line number Diff line change 46
46
CPPFLAGS+ = -I$(srcdir ) /../compat
47
47
LIBS+ = $(COMPAT_OBJS )
48
48
49
+ CFLAGS += ${UNIVERSAL_ARCHFLAGS}
50
+
49
51
SHLIB_NAME = Pextlib${SHLIB_SUFFIX}
50
52
INSTALLDIR = ${TCL_PACKAGE_PATH}/pextlib1.0
51
53
@@ -62,7 +64,7 @@ $(SHLIB_NAME): $(DARWINTRACE_SHARE_LIB)
62
64
63
65
ifeq (darwin,@OS_PLATFORM@)
64
66
LIBS+ = ../registry2.0/registry${SHLIB_SUFFIX}
65
- SHLIB_LDFLAGS+ = -install_name ${INSTALLDIR}/${SHLIB_NAME}
67
+ SHLIB_LDFLAGS+ = -install_name ${INSTALLDIR}/${SHLIB_NAME} ${UNIVERSAL_ARCHFLAGS}
66
68
${SHLIB_NAME} : ../registry2.0/registry${SHLIB_SUFFIX}
67
69
endif
68
70
You can’t perform that action at this time.
0 commit comments