Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix OSX buld which broke when adding Linux symbols versioning
  • Loading branch information
Cristian Morales Vega committed Feb 13, 2013
1 parent 4d3143f commit b6b3492
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/framework/Makefile
Expand Up @@ -17,7 +17,11 @@ else
NAME = libmlt$(LIBSUF)
TARGET = $(NAME).$(version)
SONAME = $(NAME).$(soversion)
SHFLAGS += -Wl,-soname,$(SONAME) -Wl,--version-script=mlt.vers
SHFLAGS += -Wl,-soname,$(SONAME)
endif

ifeq ($(targetos), Linux)
SHFLAGS += -Wl,--version-script=mlt.vers
endif

OBJS = mlt_frame.o \
Expand Down
5 changes: 4 additions & 1 deletion src/mlt++/Makefile
Expand Up @@ -21,7 +21,10 @@ endif

CXXFLAGS += -I.. $(RDYNAMIC) -DVERSION=\"$(version)\" -fvisibility=hidden

LDFLAGS += -L../framework -lmlt -Wl,--version-script=mlt++.vers
LDFLAGS += -L../framework -lmlt
ifeq ($(targetos), Linux)
LDFLAGS += -Wl,--version-script=mlt++.vers
endif

OBJS = MltConsumer.o \
MltDeque.o \
Expand Down

0 comments on commit b6b3492

Please sign in to comment.