File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ include ../../Mk/macports.autoconf.mk
1414# required for strdup(3) on Linux and macOS
1515CPPFLAGS+=-D_XOPEN_SOURCE =600
1616
17- CFLAGS+ = ${SQLITE3_CFLAGS}
17+ CFLAGS+ = ${UNIVERSAL_ARCHFLAGS} ${ SQLITE3_CFLAGS}
1818LIBS+ = ${SQLITE3_LIBS}
1919
2020all :: ${STLIB_NAME} ${SQLEXT_NAME}
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
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ CPPFLAGS+=-D_XOPEN_SOURCE=600
2020
2121pkgIndex.tcl : $(SRCS ) $(SRCS_AUTOCONF )
2222
23- CFLAGS+ = ${SQLITE3_CFLAGS}
23+ CFLAGS+ = ${SQLITE3_CFLAGS} ${UNIVERSAL_ARCHFLAGS }
2424LIBS+ = ${SQLITE3_LIBS} ../cregistry/cregistry.a
2525ifeq (darwin,@OS_PLATFORM@)
26- SHLIB_LDFLAGS+ = -install_name @loader_path/../registry2.0/${SHLIB_NAME}
26+ SHLIB_LDFLAGS+ = ${UNIVERSAL_ARCHFLAGS} -install_name @loader_path/../registry2.0/${SHLIB_NAME}
2727endif
2828
2929${SHLIB_NAME} : ../cregistry/cregistry.a
You can’t perform that action at this time.
0 commit comments