Skip to content

Commit

Permalink
Remove notes to self (whoops)
Browse files Browse the repository at this point in the history
  • Loading branch information
L1ghtmann committed Jan 10, 2024
1 parent 98bd4d5 commit 7ef3063
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/dragon/config/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ InternalDefaults:
internalldflags: '$internalcflags $typeldflags $frameworks $libs $libflags $lopts $libSearch $ldflags $libs'
internalsigntarget: '$signdir/$build_target_file.unsigned'
internalsymtarget: '$signdir/$build_target_file.unsym'
internallibflags: '-lobjc -lc++'
pwd: '.'

# Applied on top of both of these.
Expand Down
4 changes: 2 additions & 2 deletions src/dragongen/generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def rules_and_build_statements(self) -> (list, list):
if 'logos_files' in filedict:
for f in standardize_file_list(subdir, filedict['logos_files']):
used_rules.add('logos')
linker_conds.add('-lobjc') # TODO: generalize elsewhere
linker_conds.add('-lobjc')

name, ext = os.path.split(f)[1], os.path.splitext(f)[1]
if ext == '.x':
Expand All @@ -293,7 +293,7 @@ def rules_and_build_statements(self) -> (list, list):
build_state.append(Build(f'$builddir/logos/{name}.mm', 'logos', f))
filedict.setdefault('objcxx_files', [])
filedict['objcxx_files'].append(f'$builddir/logos/{name}.mm')
linker_conds.add('-lc++') # TODO: generalize elsewhere
linker_conds.add('-lc++')

# Deal with compilation
for a in self.project_variables['archs']:
Expand Down

0 comments on commit 7ef3063

Please sign in to comment.