r14152 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14151‎ | r14152 | r14153 >
Date:00:56, 10 May 2006
Author:brion
Status:old
Tags:
Comment:
tweak tweak. with alternate SHARED line now works on mac os x
Modified paths:
  • /trunk/extensions/normal/Makefile (modified) (history)

Diff [purge]

Index: trunk/extensions/normal/Makefile
@@ -8,6 +8,9 @@
99 # For Linux
1010 SHARED = -shared
1111
 12+# For Mac OS X
 13+#SHARED = -bundle -flat_namespace -undefined suppress
 14+
1215 TMPDIST=$(PRODUCT)-$(VERSION)
1316 DISTFILES=Makefile \
1417 $(PRODUCT).spec \
@@ -17,7 +20,9 @@
1821
1922
2023 php_$(PRODUCT).so : $(PRODUCT).cpp $(PRODUCT)_wrap.cpp
21 - $(CXX) $(CFLAGS) `php-config --includes` -licuuc $(SHARED) -o php_$(PRODUCT).so $(PRODUCT).cpp $(PRODUCT)_wrap.cpp
 24+ $(CXX) $(CFLAGS) `php-config --includes --ldflags --libs` \
 25+ -licuuc -licudata \
 26+ $(SHARED) -o php_$(PRODUCT).so $(PRODUCT).cpp $(PRODUCT)_wrap.cpp
2227
2328 $(PRODUCT)_wrap.cpp : $(PRODUCT).i
2429 swig -Wall -php4 -c++ $(PRODUCT).i

Status & tagging log